* toys/mug/Makefile.am: include the mug icon for 'make dist'

This commit is contained in:
Dirk-Jan C. Binnema 2010-12-05 12:44:17 +02:00
parent f85fd0f1ff
commit 2e49d9c3cd
1 changed files with 10 additions and 8 deletions

View File

@ -2,7 +2,7 @@
## ##
## This program is free software; you can redistribute it and/or modify ## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by ## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or ## t he Free Software Foundation; either version 3 of the License, or
## (at your option) any later version. ## (at your option) any later version.
## ##
## This program is distributed in the hope that it will be useful, ## This program is distributed in the hope that it will be useful,
@ -23,19 +23,19 @@ SUBDIRS= .
#SUBDIRS += tests #SUBDIRS += tests
#endif #endif
INCLUDES=-I${top_srcdir}/src $(GTK_CFLAGS) INCLUDES=-I${top_srcdir}/src $(GTK_CFLAGS) -DICONDIR='"$(icondir)"'
# don't use -Werror, as it might break on other compilers # don't use -Werror, as it might break on other compilers
# use -Wno-unused-parameters, because some callbacks may not # use -Wno-unused-parameters, because some callbacks may not
# really need all the params they get # really need all the params they get
AM_CFLAGS=-Wall -Wextra -Wno-unused-parameter -Wdeclaration-after-statement AM_CFLAGS=-Wall -Wextra -Wno-unused-parameter -Wdeclaration-after-statement
AM_CXXFLAGS=-Wall -Wextra -Wno-unused-parameter -DICONDIR='"$(icondir)"' \ AM_CXXFLAGS=-Wall -Wextra -Wno-unused-parameter
-DICONDIR='"$(icondir)"'
bin_PROGRAMS= \ bin_PROGRAMS= \
mug mug
# note, mu.cc is only '.cc' and not '.c' because libmu must explicitly # note, mug.cc is '.cc' only because libmu must explicitly
# be linked as c++, not c. # be linked as c++, not c.
mug_SOURCES= \ mug_SOURCES= \
mug.cc \ mug.cc \
@ -56,7 +56,7 @@ icondir= \
$(datarootdir)/icons $(datarootdir)/icons
icon_DATA= \ icon_DATA= \
${top_srcdir}/toys/mug/mug.svg mug.svg
desktopdir= \ desktopdir= \
$(datarootdir)/applications $(datarootdir)/applications
@ -65,5 +65,7 @@ desktop_DATA= \
mug.desktop mug.desktop
EXTRA_DIST= \ EXTRA_DIST= \
$(desktopentry_DATA) $(desktop_DATA) \
$(icon_DATA)