diff options
| author | Rafael Laboissiere <rafael@laboissiere.net> | 2015-11-11 14:29:43 -0200 |
|---|---|---|
| committer | Rafael Laboissiere <rafael@laboissiere.net> | 2015-11-11 14:33:18 -0200 |
| commit | a62f29c36d7a6eb0e3570efcef4adb80030880e2 (patch) | |
| tree | c9251085d2091a087bbe628159bf3b15f4518c80 /Makefile | |
| parent | 1bf4625e50c2ad051f9458064f8cff4dc5662f0c (diff) | |
Build files in a separate Makefile rule
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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: |
