]> granicus.if.org Git - docbook-dsssl/commitdiff
Allow next version to be specified on call to make
authorNorman Walsh <ndw@nwalsh.com>
Thu, 21 Mar 2002 01:19:07 +0000 (01:19 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 21 Mar 2002 01:19:07 +0000 (01:19 +0000)
xsl/Makefile

index c76da59664b9465da91a75a2b29caa3f7b56d920..4fb71248d5b86af772c16cf8cfc39390844450fd 100644 (file)
@@ -2,7 +2,8 @@ include ../cvstools/Makefile.incl
 
 CVS2LOG=../cvstools/cvs2log
 MERGELOGS=../cvstools/mergechangelogs
-NEXTVER=../cvstools/nextversion
+NEXTVERSION=../cvstools/nextversion
+NEXTVER=
 DIFFVER=
 ZIPVER=
 
@@ -42,7 +43,11 @@ else
 endif
 
 newversion:
-       $(NEXTVER)
+ifeq ($(NEXTVER),)
+       $(NEXTVERSION)
+else
+       $(NEXTVERSION) -v $(NEXTVER)
+endif
        make DIFFVER=$(DIFFVER) distrib
 
 zip: