From 3f034f44bfcac5a65bcc4d0c2f4cb54b6d780395 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 3 Jan 2012 21:06:10 +0000 Subject: let's have a sorted consistent listing in all mails --- Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b3b5693..e3b6b98 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ libdir=/usr/lib bindir=/usr/bin sbindir=/usr/sbin -localrpm: dir localcopy tar +localrpm: localcopy tar install: install -d $(bindir) $(sbindir) $(INSTALLVENDORLIB)/Iurt @@ -26,15 +26,14 @@ install: install -m755 iurt2 $(bindir)/iurt install -m755 emi ulri $(bindir)/ -dir: - mkdir $(PACKAGE)-$(VERSION) - -tar: dir localcopy - tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION) +tar: + tar cvf $(PACKAGE)-$(VERSION).tar --exclude=.svn --exclude=.perl_checker --exclude='*~' $(PACKAGE)-$(VERSION) rm -rf $(PACKAGE)-$(VERSION) localcopy: - tar c --exclude=.svn --exclude=.perl_checker --exclude='*~' $(FILES) | tar x -C $(PACKAGE)-$(VERSION) + rm -fr $(PACKAGE)-$(VERSION) + svn export -q -rBASE . $(PACKAGE)-$(VERSION) + #tar c --exclude=.svn --exclude=.perl_checker --exclude='*~' $(FILES) | tar x -C $(PACKAGE)-$(VERSION) localrpm: tar $(RPM) cp -f $(NAME)-$(VERSION).tar $(RPM)/SOURCES -- cgit v1.2.1