X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/faf4e30cb406bf35c9bb3ec7c018107ea6e01eba..88749b5dc18eb5708af20185e4339e76bda6fb72:/buildlib/manpage.mak diff --git a/buildlib/manpage.mak b/buildlib/manpage.mak index cfa5fc1a2..063841d86 100644 --- a/buildlib/manpage.mak +++ b/buildlib/manpage.mak @@ -5,7 +5,7 @@ # Input # $(SOURCE) - The documents to use -# All output is writtin to files in the build doc directory +# All output is written to files in the build doc directory # See defaults.mak for information about LOCAL @@ -14,9 +14,12 @@ LOCAL := manpage-$(firstword $(SOURCE)) $(LOCAL)-LIST := $(addprefix $(DOC)/,$(SOURCE)) # Install generation hooks -doc: $($(LOCAL)-LIST) +doc: manpages +manpages: $($(LOCAL)-LIST) veryclean: veryclean/$(LOCAL) +MKDIRS += $(DOC) + $($(LOCAL)-LIST) : $(DOC)/% : % echo Installing man page $< to $(@D) cp $< $(@D)