aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>1999-12-31 02:28:52 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>1999-12-31 02:28:52 +0000
commit5497913407cc11f3793ac6e46b2576a3e03f6536 (patch)
treeb9951457879d395a05c2b77ffef78a0ec4f12c30 /Makefile
parentfcf871dfc0e0b40df9991984341158a285028bdb (diff)
downloadcommon-data-5497913407cc11f3793ac6e46b2576a3e03f6536.tar
common-data-5497913407cc11f3793ac6e46b2576a3e03f6536.tar.gz
common-data-5497913407cc11f3793ac6e46b2576a3e03f6536.tar.bz2
common-data-5497913407cc11f3793ac6e46b2576a3e03f6536.tar.xz
common-data-5497913407cc11f3793ac6e46b2576a3e03f6536.zip
"Seethechangelog"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0e340e0..a717878 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,8 @@ dis: clean
cpio -pd mandrake_desk-$(VERSION)/
find mandrake_desk-$(VERSION) \
-type d -name CVS -o -name .cvsignore -o -name unused |xargs rm -rf
- perl -p -i -e 's|^%define version.*|%define version $(VERSION)|' \
+ egrep "^%define version $(VERSION)" mandrake_desk.spec ||
+ perl -p -i -e 's|^%define version.*|%define version $(VERSION)|' \
mandrake_desk.spec
tar cf ../mandrake_desk-$(VERSION).tar mandrake_desk-$(VERSION)
bzip2 -9f ../mandrake_desk-$(VERSION).tar