Fix build of 'make dist' generated tarballs
[claws.git] / Makefile.am
index fb75299006813b37d03e522d099a6e807bfa84ed..fa09d872518758930e978d1f853ae77603962e3e 100644 (file)
@@ -14,7 +14,10 @@ EXTRA_DIST = \
        claws-mail.pc.in \
        claws-mail.desktop \
        claws-mail.png \
-       autogen.sh
+       autogen.sh \
+       claws-features.h.in \
+       version.in \
+       version
 
 # hicolor icon theme, base class of all icon themes
 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
@@ -26,6 +29,8 @@ pixmap64_DATA=claws-mail-64x64.png
 pixmap128dir=$(datadir)/icons/hicolor/128x128/apps
 pixmap128_DATA=claws-mail-128x128.png
 
+# when changing the name or location of the .desktop file,
+# also update src/common/Makefile.am
 gnomapdir = $(datadir)/applications
 gnomap_DATA=claws-mail.desktop
 
@@ -39,7 +44,7 @@ remove-icons:
        rm -f $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps/claws-mail.png
        rm -f $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps/claws-mail.png
 
-if CLAWS_GNOME2
+if UPDATE_GTK_ICON_CACHE
 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
 
 install-data-hook: rename-icons update-icon-cache
@@ -67,7 +72,7 @@ pkgconfig_DATA = claws-mail.pc
 
 clawsincludedir = $(pkgincludedir)
 clawsinclude_HEADERS = \
-       config.h
+       claws-features.h
 
 relnotesdir = $(docdir)
 relnotes_DATA = RELEASE_NOTES