[passepartout] improved the dependency-tracking for the authors.cc file



commit 470b6d4e833214358282709d698c07300b73efd7
Author: Sven Herzberg <herzi lanedo com>
Date:   Sun Apr 12 15:02:00 2009 +0200

    improved the dependency-tracking for the authors.cc file
    
    * src/pptout/Makefile.am: let the authors.cc file depend on the Makefile, too
---
 src/pptout/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pptout/Makefile.am b/src/pptout/Makefile.am
index 846d789..7d9f2fc 100644
--- a/src/pptout/Makefile.am
+++ b/src/pptout/Makefile.am
@@ -53,7 +53,7 @@ passepartout-builddate.$(OBJEXT): \
 	$(pptpartlibs)
 
 # 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
+authors.cc: $(top_srcdir)/AUTHORS Makefile
+	awk 'BEGIN {print "const char *authors ="} {print "\"" $$0 "\\n\""} END {print ";"}' $< > $@
 
 CLEANFILES=$(BUILT_SOURCES)



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