From 40abbb8ded61f4ef38eed0c33f53d4c6e4b3ff30 Mon Sep 17 00:00:00 2001 From: Diego 'Flameeyes' Pettenò Date: Wed, 5 Mar 2008 17:54:46 +0100 Subject: Allow to skip over git calls. This should fix bug #212395. --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d898678..671f64f 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,10 @@ CPP=cpp # The pam.d file to create PAMD=system-auth system-login system-local-login system-remote-login other +# command for git (the DVCS); set this to "true" to ignore GIT support +# (i.e.: in the ebuild) +GIT=git + # Get this by default, even if I'd like avoid it... ifeq "$(IMPLEMENTATION)" "" IMPLEMENTATION=linux-pam @@ -45,8 +49,8 @@ endif dist: $(PACKAGE)-$(VERSION).tar.bz2 -$(PACKAGE)-$(VERSION).tar.bz2: $(shell git ls-files) - git archive --format=tar --prefix=$(PACKAGE)-$(VERSION)/ HEAD | bzip2 > $@ +$(PACKAGE)-$(VERSION).tar.bz2: $(shell $(GIT) ls-files) + $(GIT) archive --format=tar --prefix=$(PACKAGE)-$(VERSION)/ HEAD | bzip2 > $@ $(PAMD): %: %.in $(CPP) -traditional-cpp -P $(PAMFLAGS) $< -o $@ -- cgit v1.2.3-65-gdbad