diff --git a/README.md b/README.md index d91246d..14cc6e3 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ However, Makefiles must contain a SRCPAT annotation comment as follows, where `< If there are multiple SRCPAT annotations, the lowermost one will be used. -You *may* add a PHONY target "autodoc" which will be built *instead* of the default target. +You *may* add a PHONY target "autodoc" which will be built *instead* of the default target. This is demonstrated in [examples/automatic directory listing/a directory in space/Makefile](https://github.com/ldericher/autodoc/blob/develop/examples/automatic%20directory%20listing/a%20directory%20in%20space/Makefile). ```Makefile .PHONY: autodoc diff --git a/examples/automatic directory listing/a directory in space/Makefile b/examples/automatic directory listing/a directory in space/Makefile index b358204..c655049 100644 --- a/examples/automatic directory listing/a directory in space/Makefile +++ b/examples/automatic directory listing/a directory in space/Makefile @@ -3,3 +3,7 @@ .PHONY: all all: @echo "Hello World!" + +.PHONY: autodoc +autodoc: + @echo "Hello autodoc!"