From b5c4c49730a56e532c8b744daba78065a19e8111 Mon Sep 17 00:00:00 2001 From: konablend Date: Thu, 18 Jun 2009 21:28:13 +0000 Subject: BuildSystem: added 'make pkg.clean' git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2573 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- pkg/module.rules | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'pkg/module.rules') diff --git a/pkg/module.rules b/pkg/module.rules index 6660d9fdd..90412eb17 100644 --- a/pkg/module.rules +++ b/pkg/module.rules @@ -6,11 +6,15 @@ $(eval $(call import.MODULE.rules,PKG)) pkg.create:: $(PKG.src.tar.bz2) +pkg.clean: + $(RM.exe) -fr $(STAGE.out/) + $(RM.exe) -fr $(PKG.out/) + $(PKG.src.tar.bz2): | $(dir $(PKG.src.tar.bz2)) -$(PKG.src.tar.bz2): | $(STAGE.src/) - $(TAR.exe) cjf $@ -C $(STAGE.src/) . +$(PKG.src.tar.bz2): | $(STAGE.out.src/) + $(TAR.exe) cjf $@ -C $(STAGE.out.src/) . -$(STAGE.src/): +$(STAGE.out.src/): svn export -r$(HB.repo.rev) $(HB.repo.url) $@/$(HB.name)-$(HB.version) ############################################################################### -- cgit v1.2.3