X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile.am;h=64df0896f914424647265f24b1fbb307ea6b390a;hb=ff7ed8bbe26da10e27fa2628919f2017d760d94c;hp=b82e0684fcf7312c43a5c7a436bd18458cbfd4d3;hpb=96141690f033c652c3cc8f24213d9054868836b4;p=sympathy.git diff --git a/Makefile.am b/Makefile.am index b82e068..64df089 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,9 +5,15 @@ # Copyright (c) 2008 James McKenzie , # All rights reserved. # -# $Id$ +# $Id: Makefile.am,v 1.8 2008/02/28 22:55:27 staffcvs Exp $ +# +# $Log: Makefile.am,v $ +# Revision 1.8 2008/02/28 22:55:27 staffcvs +# *** empty log message *** +# +# Revision 1.7 2008/02/27 18:29:49 james +# *** empty log message *** # -# $Log$ # Revision 1.6 2008/02/27 16:01:24 james # *** empty log message *** # @@ -55,20 +61,21 @@ VCHK=${shell cat ${VFS} | @MD5SUM@ | @AWK@ '{print $$1 }' } VNUM=${shell @GREP@ ${VCHK} ${VFD}/version-md5sums | @AWK@ '{ print $$2 }' } VSTP=${shell @GREP@ ${VCHK} ${VFD}/version-stamps | @AWK@ 'BEGIN { FS="\t" }; { print $$2 }' } VDEF=${shell echo `cat ${VFD}/version-major`.`cat ${VFD}/version-minor`.`cat ${VFD}/version-micro` } +VSDF=${shell tail -1 ${VFD}/version-stamps | @AWK@ 'BEGIN { FS="\t" }; { print $$2 }' } -EXTRA_DIST=version-files version-major version-minor version-micro version-md5sums version-stamps +EXTRA_DIST=version-files version-major version-minor version-micro version-md5sums version-stamps sympathy.1 version.sed: $(VFD)/version-files $(VFD)/version-major \ $(VFD)/version-minor $(VFD)/version-micro \ - $(VFD)/version-md5sums $(VFD)/version-stamps ${VFS} Makefile + $(VFD)/version-md5sums $(VFD)/version-stamps ${VFS} if [ .${VNUM} = . ]; then \ echo "s/%VERSION%/${VDEF}-E/g" > version.sed; \ - echo "s/%VERSIONSTAMP%/After ${VSTP}/g" >> version.sed; \ - echo "s/%LONGVERSION%/libsympathy version ${VNUM} + Edits/g" >> version.sed; \ + echo "s/%VERSIONSTAMP%/After ${VSDF}/g" >> version.sed; \ + echo "s/%LONGVERSION%/Version ${VDEF} + Edits/g" >> version.sed; \ else \ echo "s/%VERSION%/${VNUM}/g" > version.sed; \ echo "s/%VERSIONSTAMP%/${VSTP}/g" >> version.sed; \ - echo "s/%LONGVERSION%/libsympathy version ${VNUM}/g" >> version.sed; \ + echo "s/%LONGVERSION%/Version ${VNUM}/g" >> version.sed; \ fi protos: