summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-04 20:04:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-04 20:04:35 +0000
commit2b0e2f6c257ac0aaa17b285569d0da0c53378062 (patch)
treec294c0d9e955a4883640b46e0c439ba964f13037
parent696548ea56e7bc760f2b62bc31bab41c7e4a48eb (diff)
downloadperl_checker-2b0e2f6c257ac0aaa17b285569d0da0c53378062.tar
perl_checker-2b0e2f6c257ac0aaa17b285569d0da0c53378062.tar.gz
perl_checker-2b0e2f6c257ac0aaa17b285569d0da0c53378062.tar.bz2
perl_checker-2b0e2f6c257ac0aaa17b285569d0da0c53378062.tar.xz
perl_checker-2b0e2f6c257ac0aaa17b285569d0da0c53378062.zip
ensure MDK/Common.pm is generated when generating the spec file
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 997b876..8fbd289 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ commit:
tar: clean
cd .. ; tar cf - $(NAME) | bzip2 -9 >$(TAR)
-build:
+build: MDK/Common.pm
cp -f ../$(TAR) $(RPM)/SOURCES
perl -I. -MMDK::Common -pe 's/THEVERSION/$$MDK::Common::VERSION/' $(NAME).spec > $(RPM)/SPECS/$(NAME).spec
-rpm -ba $(RPM)/SPECS/$(NAME).spec