From a62f29c36d7a6eb0e3570efcef4adb80030880e2 Mon Sep 17 00:00:00 2001 From: Rafael Laboissiere Date: Wed, 11 Nov 2015 14:29:43 -0200 Subject: Build files in a separate Makefile rule --- Makefile | 7 +++++-- 1 file 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: -- cgit v1.2.3