summaryrefslogtreecommitdiffstats
path: root/pkg/module.rules
diff options
context:
space:
mode:
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)
###############################################################################