From 55f6e33a59ced71e52a1b5e1396b535d2da1b3e6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 30 Apr 2003 10:22:37 +0000 Subject: - s/rpm/rpmbuild/ - ensure perl_checker_fake_packages/gen.pl is not included in the package --- Makefile | 4 ++-- 1 file 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) -- cgit v1.2.1