[passepartout/passepartout-0-7: 7/9] improved the dependency-tracking for the authors.cc file



commit dc3658b6b7639e656241e6f8eaf10b573ba86570
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 65d0cac..ae2265a 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]