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



commit 2b3f517f4e114e20802146af2e2169da0a13adde
Author: Christian Persch <chpe gnome org>
Date:   Wed Jun 13 14:02:33 2012 +0200

    libdocument: Don't dist generated files

 libdocument/Makefile.am |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/libdocument/Makefile.am b/libdocument/Makefile.am
index ccfa6d0..56ff396 100644
--- a/libdocument/Makefile.am
+++ b/libdocument/Makefile.am
@@ -40,15 +40,15 @@ INST_H_SRC_FILES = 				\
 	ev-page.h				\
 	ev-render-context.h			\
 	ev-selection.h				\
-	ev-transition-effect.h			\
-	ev-version.h
+	ev-transition-effect.h
 
-INST_H_FILES = 					\
-	$(INST_H_SRC_FILES)			\
-	ev-document-type-builtins.h
+INST_H_BUILT_FILES = \
+	ev-document-type-builtins.h \
+	ev-version.h
 
 headerdir = $(includedir)/evince/$(EV_API_VERSION)/libdocument
-header_DATA = $(INST_H_FILES)
+header_DATA = $(INST_H_SRC_FILES) 
+nodist_header_DATA = $(INST_H_BUILT_FILES)
 
 libevdocument3_la_SOURCES=			\
 	ev-annotation.c				\
@@ -74,7 +74,6 @@ libevdocument3_la_SOURCES=			\
 	ev-document-find.c			\
 	ev-document-transition.c		\
 	ev-document-forms.c			\
-	ev-document-type-builtins.c		\
 	ev-document-text.c			\
 	ev-form-field.c 			\
 	ev-debug.c				\
@@ -88,7 +87,11 @@ libevdocument3_la_SOURCES=			\
 	ev-transition-effect.c			\
 	ev-document-misc.c			\
 	$(NOINST_H_FILES)			\
-	$(INST_H_FILES)
+	$(INST_H_SRC_FILES)
+
+nodist_libevdocument3_la_SOURCES = \
+	ev-document-type-builtins.c \
+	$(INST_H_BUILT_FILES)
 
 libevdocument3_la_CPPFLAGS = \
 	-DG_LOG_DOMAIN=\"EvinceDocument\"		\
@@ -118,7 +121,6 @@ libevdocument3_la_LIBADD = \
 	$(LIBM)			\
 	$(top_builddir)/cut-n-paste/synctex/libsynctex.la
 
-
 BUILT_SOURCES = 			\
 	ev-document-type-builtins.c	\
 	ev-document-type-builtins.h



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