aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/man/Makefile')
-rw-r--r--src/man/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/man/Makefile b/src/man/Makefile
index 682aadaad..767920e2b 100644
--- a/src/man/Makefile
+++ b/src/man/Makefile
@@ -3,6 +3,8 @@ ROOT = ../..
3-include $(ROOT)/config.mk 3-include $(ROOT)/config.mk
4 4
5GAWK ?= gawk 5GAWK ?= gawk
6GZIP ?= gzip
7RM ?= rm -f
6 8
7MOD_DIR := $(ROOT)/src/man 9MOD_DIR := $(ROOT)/src/man
8MANPAGES_IN := $(sort $(wildcard $(MOD_DIR)/*.in)) 10MANPAGES_IN := $(sort $(wildcard $(MOD_DIR)/*.in))
@@ -21,8 +23,8 @@ $(MOD_DIR)/%: $(MOD_DIR)/%.in $(ROOT)/config.mk
21# foo.1.gz: foo.1 23# foo.1.gz: foo.1
22$(MOD_DIR)/%.gz: $(MOD_DIR)/% 24$(MOD_DIR)/%.gz: $(MOD_DIR)/%
23 @printf 'Generating %s from %s\n' $@ $< 25 @printf 'Generating %s from %s\n' $@ $<
24 @rm -f $@ 26 @$(RM) $@
25 @gzip -n9 $< 27 @$(GZIP) -n9 $<
26 28
27.PHONY: clean 29.PHONY: clean
28clean:; rm -f *.1 *.5 *.gz 30clean:; $(RM) *.1 *.5 *.gz