summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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)