aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e16a88b..ee53e5c 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,11 @@ REPODATA = repo/db repo/dists repo/pool
REPOHOST = www.cefala.org
USER = rlaboiss
+build-stamp: $(BUILD)
+ touch build-stamp
+
.PHONY: install
-install: $(BUILD)
+install: build-stamp
mkdir -p $(WWWDIR)
chown -R '$(USER):$(USER)' $(WWWDIR)
install --mode=644 www/$(INDEX) www/$(GPGKEY) $(WWWDIR)
@@ -22,7 +25,7 @@ install: $(BUILD)
.PHONY: clean
clean:
- rm -f $(BUILD)
+ rm -f $(BUILD) build-stamp
.PHONY: install-repo
install-repo: