Correct the generation of the spec file with a serial number.

This commit is contained in:
H. Peter Anvin 2002-05-21 02:46:45 +00:00
parent f29b128afd
commit 9399421303

View file

@ -171,7 +171,9 @@ dist: spotless perlreq
tar: dist
tar cvjf ../nasm-`cat version`-`date +%Y%m%d`.tar.bz2 ../`./nasm-dir`
spec: nasm.spec
nasm.spec: nasm.spec.in version
sed -e s/@@VERSION@@/`cat $(srcdir)/version`/g \
-e s/@@ID@@/`$(PERL) $(srcdir)/version.pl < $(srcdir)/version`/g \
-e s/@@ID@@/`$(PERL) $(srcdir)/version.pl id < $(srcdir)/version`/g \
< nasm.spec.in > nasm.spec