[passepartout] [src/pptout/Makefile.am] fix distcheck



commit a965094fc5e2a2f709c35df6dc249be0b3ef4cef
Author: Sven Herzberg <herzi src gnome org>
Date:   Fri Jun 15 12:36:17 2007 +0000

    [src/pptout/Makefile.am] fix distcheck
    
    git-svn-id: http://svn.gnome.org/svn/passepartout/trunk 1513 910bfebc-b532-0410-a802-fb3981afa09c
---
 src/pptout/Makefile.am |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/pptout/Makefile.am b/src/pptout/Makefile.am
index e4237e9..65d0cac 100644
--- a/src/pptout/Makefile.am
+++ b/src/pptout/Makefile.am
@@ -14,6 +14,10 @@ dist_noinst_HEADERS = aboutdialog.h config.h preferencesdialog.h	\
 		view.h window.h stockitems.h templatepagedialog.h	\
 		clipboard.h
 
+BUILT_SOURCES=\
+	authors.cc \
+	$(NULL)
+
 passepartout_SOURCES = inspiration.cc streamdialog.cc pagesel.cc	\
 		aboutdialog.cc docmeta.cc printdialog.cc viewent.cc	\
 		groupviewent.cc postscriptviewent.cc pageviewent.cc	\
@@ -22,8 +26,11 @@ passepartout_SOURCES = inspiration.cc streamdialog.cc pagesel.cc	\
 		propertiesdialog.cc imagemeta.cc rastermeta.cc		\
 		textmeta.cc groupmeta.cc pagemeta.cc propbase.cc	\
 		pptcore.cc docpropsdialog.cc builddate.cc		\
-		windowmenus.cc authors.cc stockitems.cc			\
-		templatepagedialog.cc clipboard.cc
+		windowmenus.cc stockitems.cc			\
+		clipboard.cc \
+		templatepagedialog.cc \
+		$(BUILT_SOURCES) \
+		$(NULL)
 
 passepartout_CXXFLAGS = $(XMLPP_CFLAGS) $(GTKMM_CFLAGS) $(GNOMECANVAS_CFLAGS) \
 	$(GNOME_CFLAGS) $(GNOMEVFS_CFLAGS)
@@ -47,4 +54,6 @@ passepartout-builddate.$(OBJEXT): \
 
 # build a string out of the contents of AUTHORS
 authors.cc: $(top_srcdir)/AUTHORS
-	awk 'BEGIN {print "const char *authors ="} {print "\"" $$0 "\\n\""} END {print ";"}' $(top_srcdir)/AUTHORS > authors.cc
\ No newline at end of file
+	awk 'BEGIN {print "const char *authors ="} {print "\"" $$0 "\\n\""} END {print ";"}' $(top_srcdir)/AUTHORS > authors.cc
+
+CLEANFILES=$(BUILT_SOURCES)



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