diff options
author | Louie S <louie@example.com> | 2024-06-07 15:10:52 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-06-07 15:10:52 -0400 |
commit | 603d3105cb16470e502f0e3d20f95d2243771e33 (patch) | |
tree | 2d775cf0fd4df3e745ff1649d5e1119e13416113 /Makefile | |
parent | a9413e16e8a8d160acb760a0971f25ef23d71e8c (diff) |
Replace placeholders with wildcard rules
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -20,10 +20,8 @@ clean: .phony: GNU_Make GNU_Make: $(BUILD_DIR)/GNU_Make.docset -# All docset files should be listed here -$(BUILD_DIR)/GNU_Make.docset: - $(SRC_MAKE_CALL) DOCSET_NAME=GNU_Make +$(BUILD_DIR)/%.docset: + $(SRC_MAKE_CALL) DOCSET_NAME=$(basename $(@F)) -# All archive files should be listed here -$(BUILD_DIR)/GNU_Make.tgz: GNU_Make - tar --exclude='.DS_Store' -czf $@ $(BUILD_DIR)/GNU_Make.docset +$(BUILD_DIR)/%.tgz: $(BUILD_DIR)/%.docset + tar --exclude='.DS_Store' -czf $@ $(basename $@).docset |