]> granicus.if.org Git - flex/commitdiff
only rebuild the ChangeLog if we're inside a cvs working directory
authorWill Estes <wlestes@users.sourceforge.net>
Wed, 26 Mar 2003 19:15:31 +0000 (19:15 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Wed, 26 Mar 2003 19:15:31 +0000 (19:15 +0000)
Makefile.am

index ed120d323c5c2629391e7da07beefa11550dadf1..1dc346b1d930248bc6495bfcb1d5a93bd4594665 100644 (file)
@@ -177,10 +177,12 @@ filter.o: filter.c flexdef.h flexint.h
 tags:
        ctags --c-types='defgmstuv' $(srcdir)/*.[ch]
 
-# Create the ChangeLog
+# Create the ChangeLog, but only if we're inside a cvs working directory
 
 ChangeLog:
-       sh $(srcdir)/tools/cvs2cl.pl -F trunk -U $(srcdir)/tools/cvsauthors
+       if [ -d CVS ] ; then \
+               sh $(srcdir)/tools/cvs2cl.pl -F trunk -U $(srcdir)/tools/cvsauthors \
+       ; fi
 
 # Run GNU indent on sources. Don't run this unless all the sources compile cleanly.
 #