Fix 'make distcheck' adding missing gpicview.desktop into dist.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sun, 17 May 2015 14:05:29 +0000 (17:05 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sun, 17 May 2015 14:05:29 +0000 (17:05 +0300)
Makefile.am

index da2d07c..f5ea21e 100644 (file)
@@ -3,11 +3,6 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
 SUBDIRS = src po data
 
-EXTRA_DIST = \
-       autogen.sh \
-       gpicview.desktop.in \
-       gpicview.png
-
 desktopdir = $(datadir)/applications
 desktop_in_files = gpicview.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@@ -16,6 +11,12 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 icondir = $(datadir)/icons/hicolor/48x48/apps
 icon_DATA = gpicview.png
 
+EXTRA_DIST = \
+       autogen.sh \
+       $(desktop_in_files) \
+       $(desktop_DATA) \
+       $(icon_DATA)
+
 install-data-local:
        @$(NORMAL_INSTALL)
        if test -d $(srcdir)/pixmaps; then \
@@ -36,4 +37,3 @@ dist-hook:
            fi \
          done \
        fi
-