From 3c3312229901170103c763a3b9f88296bd842955 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 2 Jan 2015 03:14:17 +0100 Subject: fix make dist with git-2.2 after trying to play with ":(glob)" & strange git-archive errors, the safest way is actually the simplest... rationale: we're killing the install/ directory later anyway the only difference is that we now include .gitattributes & .perl_checker in the archive --- perl-install/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/Makefile') diff --git a/perl-install/Makefile b/perl-install/Makefile index 55871dbe0..4a2d8e58a 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -58,7 +58,7 @@ dist: tar tar: clean rm -rf $(PACKAGE)*.tar* $(PACKAGE)-$(PKGVERSION) mkdir -p $(PACKAGE)-$(PKGVERSION)/tools - (cd ..; git archive HEAD perl-install/{[^i]*,int*} $(OTHERS) kernel/list_modules.pm Makefile.config) | tar xC $(PACKAGE)-$(PKGVERSION) + (cd ..; git archive HEAD "perl-install/" $(OTHERS) kernel/list_modules.pm Makefile.config) | tar xC $(PACKAGE)-$(PKGVERSION) rm -rf $(PACKAGE)-$(PKGVERSION)/perl-install/{install,unused,list_modules.pm} cp -f ../kernel/list_modules.pm $(PACKAGE)-$(PKGVERSION)/perl-install cd $(PACKAGE)-$(PKGVERSION)/perl-install ; mv -f Makefile.drakxtools Makefile -- cgit v1.2.1