summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-12-15 15:25:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-12-15 15:25:11 +0000
commit9b3e34da78b5589635548e89899463838efeb561 (patch)
treed95354b39df9ef46a3c0d2777a7f97b90c76f0ef /Makefile
parent58dab80c5625896156e4d31fb39778556c88eb32 (diff)
downloadldetect-9b3e34da78b5589635548e89899463838efeb561.tar
ldetect-9b3e34da78b5589635548e89899463838efeb561.tar.gz
ldetect-9b3e34da78b5589635548e89899463838efeb561.tar.bz2
ldetect-9b3e34da78b5589635548e89899463838efeb561.tar.xz
ldetect-9b3e34da78b5589635548e89899463838efeb561.zip
put the version in .spec too, otherwise can't use rpm C-c e :)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e2b5af3..0300022 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,8 @@ install: build
install libldetect.h $(includedir)
rpm: clean $(RPM)
+ perl -pi -e "s/^(%define version).*/\1 $(version)/" $(project).spec
+
(echo "# !! DON'T MODIFY HERE, MODIFY IN THE CVS !!" ; \
echo "%define version $(version)" ; \
cat $(project).spec \