# 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
doc: $($(LOCAL)-LIST)
veryclean: veryclean/$(LOCAL)
+MKDIRS += $(DOC)
+
$($(LOCAL)-LIST) : $(DOC)/% : %
- echo Installing man page %< to $(@D)
+ echo Installing man page $< to $(@D)
cp $< $(@D)
# Clean rule