summaryrefslogtreecommitdiffstats
path: root/Makefile
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
commit95cf5afd97f393fafe5110939d7c73b91ccf8c0a (patch)
tree003ce5cf5ca6630a11a46c7dde18886ce0db761f /Makefile
parentd0d1daa9fd89f1b0e05929104673e300eb87f56b (diff)
downloadperl-MDK-Common-95cf5afd97f393fafe5110939d7c73b91ccf8c0a.tar
perl-MDK-Common-95cf5afd97f393fafe5110939d7c73b91ccf8c0a.tar.gz
perl-MDK-Common-95cf5afd97f393fafe5110939d7c73b91ccf8c0a.tar.bz2
perl-MDK-Common-95cf5afd97f393fafe5110939d7c73b91ccf8c0a.tar.xz
perl-MDK-Common-95cf5afd97f393fafe5110939d7c73b91ccf8c0a.zip
ensure MDK/Common.pm is generated when generating the spec file
Diffstat (limited to 'Makefile')
-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