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
commit55f6e33a59ced71e52a1b5e1396b535d2da1b3e6 (patch)
tree4cf91682969e231f545c4d9d5c90134f950a486e /Makefile
parentab7f1a42f595b058ac49d3b749beb646dcd7c096 (diff)
downloadperl_checker-55f6e33a59ced71e52a1b5e1396b535d2da1b3e6.tar
perl_checker-55f6e33a59ced71e52a1b5e1396b535d2da1b3e6.tar.gz
perl_checker-55f6e33a59ced71e52a1b5e1396b535d2da1b3e6.tar.bz2
perl_checker-55f6e33a59ced71e52a1b5e1396b535d2da1b3e6.tar.xz
perl_checker-55f6e33a59ced71e52a1b5e1396b535d2da1b3e6.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)