If .svn/entries exists, add it as a dependency to svnversion.h.

svn path=/trunk/; revision=19598
This commit is contained in:
Gerald Combs 2006-10-18 20:30:15 +00:00
parent 7ded21f336
commit 3208402386
1 changed files with 7 additions and 1 deletions

View File

@ -262,7 +262,13 @@ ps.c : rdps.exe print.ps
#
# Build the version string
#
svnversion.h:
!IF EXIST(".svn/entries")
SVNENTRIES = .svn/entries
!ELSE
SVNENTRIES =
!ENDIF
svnversion.h: $(SVNENTRIES)
rm -f svnversion.h
$(PERL) make-version.pl
#