summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-12-15 15:24:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-12-15 15:24:54 +0000
commit2a50f35336809fc35125f116dd4db5d1dea5967e (patch)
tree3a6bc30be4b94f5a40b426137b83c4988c99ef80 /Makefile
parent3cb7021a9d7d1dbf87500822c015d2747a731ae1 (diff)
downloadldetect-lst-2a50f35336809fc35125f116dd4db5d1dea5967e.tar
ldetect-lst-2a50f35336809fc35125f116dd4db5d1dea5967e.tar.gz
ldetect-lst-2a50f35336809fc35125f116dd4db5d1dea5967e.tar.bz2
ldetect-lst-2a50f35336809fc35125f116dd4db5d1dea5967e.tar.xz
ldetect-lst-2a50f35336809fc35125f116dd4db5d1dea5967e.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 3a93d07b..bbc59d3d 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,8 @@ install: build
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 \