summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index 7af742039..e0765f7ba 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -220,7 +220,7 @@ define BuildPackage
clean: $(1)-clean
- $(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH):
+ $(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH): $(PKG_BUILD_DIR)/.prepared
-rm $(PKG_BUILD_DIR)/.version-$(1)_*
@touch $$@