3 # This installs man pages into the doc directory
6 # $(SOURCE) - The documents to use
8 # All output is writtin to files in the build doc directory
10 # See defaults.mak for information about LOCAL
12 # Some local definitions
13 LOCAL := manpage-$(firstword $(SOURCE))
14 $(LOCAL)-LIST := $(addprefix $(DOC)/,$(SOURCE))
16 # Install generation hooks
18 veryclean: veryclean/$(LOCAL)
22 $($(LOCAL)-LIST) : $(DOC)/% : %
23 echo Installing man page $< to $(@D)
27 .PHONY: veryclean/$(LOCAL)