summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@tutanota.com>2024-06-07 17:54:49 -0400
committerLouie Shprung <lshprung@tutanota.com>2024-06-07 17:54:49 -0400
commitbffecbd36e2995c469bf494c573901c7ba55057e (patch)
treeaed87533fe565ca971795ca19bef77ba7b518b08 /Makefile
parentc37e6a4e84130969dcbcbc1f2767c179961a9b17 (diff)
Fix targets; add debmake
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index bf42583..47886bd 100644
--- a/Makefile
+++ b/Makefile
@@ -16,11 +16,13 @@ clean:
rm -rf $(BUILD_DIR)/*.docset $(BUILD_DIR)/*.tgz
# All supported docsets should be listed here
-.phony: GNU_Make
-GNU_Make: $(BUILD_DIR)/GNU_Make.docset
+SUPPORTED_TARGETS = \
+debmake \
+GNU_Make
-$(BUILD_DIR)/%.docset:
- $(SRC_MAKE_CALL) DOCSET_NAME=$(basename $(@F))
+.phony: $(SUPPORTED_TARGETS)
+$(SUPPORTED_TARGETS):
+ $(SRC_MAKE_CALL) DOCSET_NAME=$@
$(BUILD_DIR)/%.tgz: $(BUILD_DIR)/%.docset
tar --exclude='.DS_Store' -czf $@ $(basename $@).docset