spec file now generated with correct version number.

This commit is contained in:
pdw
2002-10-21 14:29:39 +00:00
parent 8010c98d26
commit a26049dbb1
6 changed files with 29 additions and 18 deletions

View File

@@ -59,7 +59,7 @@ uninstall:
$(CC) $(CFLAGS) -c -o $@ $<
clean:
rm -f *~ *.o core iftop
rm -f *~ *.o core iftop iftop.spec
tarball: depend $(SRCS) $(HDRS) $(TXTS) $(SPECFILE)
mkdir iftop-$(VERSION)
@@ -75,5 +75,9 @@ depend: $(SRCS)
nodepend:
rm -f depend
iftop.spec: iftop.spec.in Makefile
sed 's/__VERSION__/$(VERSION)/' < iftop.spec.in > iftop.spec
include depend