diff options
author | xengineering <me@xengineering.eu> | 2024-01-31 21:34:17 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-01-31 21:34:17 +0100 |
commit | 0c1cabb24ed00c6a69a69cc4bc4505c384be6b35 (patch) | |
tree | ef294e230c29f2b6dbaf43180dc0d47dd1357e73 | |
parent | 9af2e3c3357ff738700e89dd816fd4162fd3bfcf (diff) | |
download | soundbox-0c1cabb24ed00c6a69a69cc4bc4505c384be6b35.tar soundbox-0c1cabb24ed00c6a69a69cc4bc4505c384be6b35.tar.zst soundbox-0c1cabb24ed00c6a69a69cc4bc4505c384be6b35.zip |
doc: Make version and date files phony targets
This makes sure that the version / date file is always re-generated.
Otherwise it is hard to make sure that e.g. the version is always
aligned with the real state.
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -10,9 +10,11 @@ ARCHIVE := $(ARTIFACTS_DIR)/$(TARGET_NAME).tar.zst all: $(ARCHIVE) $(VERSIONED_DOC) +.PHONY: $(DATE) $(DATE): git show -s --format=%cs > $@ +.PHONY: $(VERSION_FILE) $(VERSION_FILE): echo '$(VERSION)' > $@ |