summaryrefslogtreecommitdiff
path: root/Template
diff options
context:
space:
mode:
Diffstat (limited to 'Template')
-rw-r--r--Template4
1 files changed, 3 insertions, 1 deletions
diff --git a/Template b/Template
index d3b4ecc..715d2f1 100644
--- a/Template
+++ b/Template
@@ -7,10 +7,12 @@ define TOOL_templ
$(1): $(1)_prehook $$($(1)-lex) $$($(1)-yaac) $$(patsubst %.o,$(1)/%.o,$$($(1)-objs))
$(1)_clean: $(1)_clean_custom
$(Q)$$(call RM,$(1)/*.o $(1)/$(1) $(1)/*.gz)
- $(1)_install: $(1)_install_custom
+ $(1)_do_install:
$(Q)$$(call INSTX,$(1)/$(1),$$(SBINDIR))
$(Q)$(GZIP) $(1).8 > $(1)/$(1).8.gz
$(Q)$$(call INSTX,$(1)/$(1).8.gz,$$(MAN8DIR))
+ $(Q)$$(foreach file,$$($(1)-confs),$$(call INST,$$(file),$$(ETCDIRE));)
+ $(1)_install: $(1)_do_install $(1)_post_install
$(1)_uninstall: $(1)_uninstall_custom
$(Q)$$(call RM,$$(SBINDIR)/$(1))
$(Q)$$(call RM,$$(MAN8DIR)/$(1).8.gz)