autodoc target example

This commit is contained in:
Jörn-Michael Miehe 2019-09-24 15:00:36 +02:00
parent 91e186b7e2
commit f227ceae35
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -3,3 +3,7 @@
.PHONY: all
all:
@echo "Hello World!"
.PHONY: autodoc
autodoc:
@echo "Hello autodoc!"