summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-04-30 10:22:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-04-30 10:22:37 +0000
commitbba7b6bae2abd5ff6e9935095b093969f063b0cd (patch)
treea72610dab27a73de5ec51ddd8405c921d30c9e3e /Makefile
parent60740a5d4313c1a0ccb0de79e70e21380cb450f7 (diff)
downloadperl-MDK-Common-bba7b6bae2abd5ff6e9935095b093969f063b0cd.tar
perl-MDK-Common-bba7b6bae2abd5ff6e9935095b093969f063b0cd.tar.gz
perl-MDK-Common-bba7b6bae2abd5ff6e9935095b093969f063b0cd.tar.bz2
perl-MDK-Common-bba7b6bae2abd5ff6e9935095b093969f063b0cd.tar.xz
perl-MDK-Common-bba7b6bae2abd5ff6e9935095b093969f063b0cd.zip
- s/rpm/rpmbuild/
- ensure perl_checker_fake_packages/gen.pl is not included in the package
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4b5224b..ae29ee3 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ install: clean all
install perl_checker.src/perl_checker $(BINDIR)
install -m 644 MDK/Common.pm $(INSTALLVENDORLIB)/MDK
install -m 644 MDK/Common/*.pm $(INSTALLVENDORLIB)/MDK/Common
- cp -r perl_checker_fake_packages $(INSTALLVENDORLIB)
+ tar c `find perl_checker_fake_packages -name "*.pm"` | tar xC $(INSTALLVENDORLIB)
rpm: update tar build commit
@@ -52,5 +52,5 @@ tar: clean
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
+ -rpmbuild -ba $(RPM)/SPECS/$(NAME).spec
rm -f ../$(TAR)