summaryrefslogtreecommitdiffstats
path: root/pkg/module.rules
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-18 21:28:13 +0000
committerkonablend <[email protected]>2009-06-18 21:28:13 +0000
commitb5c4c49730a56e532c8b744daba78065a19e8111 (patch)
tree9a7d2f46fcb76b4114e774d70140405dee006dd3 /pkg/module.rules
parentd2bec4f2c724de7059ad577109f480ae86432f7a (diff)
BuildSystem: added 'make pkg.clean'
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2573 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'pkg/module.rules')
-rw-r--r--pkg/module.rules10
1 files changed, 7 insertions, 3 deletions
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)
###############################################################################