[evince/wip/app] shell: Don't dist generated files



commit bd4d5c92715cdb84df2defcf337095d6f3942bd5
Author: Christian Persch <chpe gnome org>
Date:   Wed Jun 13 14:24:25 2012 +0200

    shell: Don't dist generated files

 shell/Makefile.am |   30 +++++++++++++++++++++---------
 1 files changed, 21 insertions(+), 9 deletions(-)
---
diff --git a/shell/Makefile.am b/shell/Makefile.am
index 7477ef6..6146e88 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -1,3 +1,5 @@
+NULL =
+
 INCLUDES=							\
 	-DEVINCEDATADIR=\"$(pkgdatadir)\"				\
 	-DGNOMEDATADIR=\"$(datadir)\"				\
@@ -44,8 +46,6 @@ evince_SOURCES=				\
 	ev-history.h			\
 	ev-keyring.h			\
 	ev-keyring.c			\
-	ev-marshal.c			\
-	ev-marshal.h			\
 	ev-message-area.c		\
 	ev-message-area.h		\
 	ev-metadata.c			\
@@ -66,8 +66,6 @@ evince_SOURCES=				\
 	ev-properties-license.h		\
 	ev-open-recent-action.c		\
 	ev-open-recent-action.h		\
-	ev-resources.c			\
-	ev-resources.h			\
 	ev-utils.c			\
 	ev-utils.h			\
 	ev-window.c			\
@@ -92,16 +90,26 @@ evince_SOURCES=				\
 	ev-sidebar-thumbnails.h		\
 	main.c
 
+nodist_evince_SOURCES = \
+	ev-marshal.c \
+	ev-marshal.h \
+	ev-resources.c \
+	ev-resources.h \
+	$(NULL)
+
 if ENABLE_DBUS
 evince_SOURCES += \
-	ev-gdbus-generated.c \
-	ev-gdbus-generated.h \
 	ev-gdbus.c \
 	ev-gdbus.h \
 	ev-media-player-keys.c \
-	ev-media-player-keys.h
-endif
+	ev-media-player-keys.h \
+	$(NULL)
 
+nodist_evince_SOURCES += \
+	ev-gdbus-generated.c \
+	ev-gdbus-generated.h \
+	$(NULL)
+endif
 
 evince_LDFLAGS = $(AM_LDFLAGS)
 
@@ -143,8 +151,12 @@ endif
 if ENABLE_DBUS
 evinced_SOURCES = \
 	ev-daemon.c \
+	$(NULL)
+
+nodist_evinced_SOURCES = \
 	ev-daemon-gdbus-generated.c \
-	ev-daemon-gdbus-generated.h
+	ev-daemon-gdbus-generated.h \
+	$(NULL)
 
 evinced_CFLAGS=				\
 	-DEVINCEDATADIR=\"$(pkgdatadir)\"			\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]