mirror of
https://github.com/ldericher/autodoc.git
synced 2025-12-06 15:43:01 +00:00
autodoc target example
This commit is contained in:
parent
91e186b7e2
commit
f227ceae35
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -3,3 +3,7 @@
|
|||
.PHONY: all
|
||||
all:
|
||||
@echo "Hello World!"
|
||||
|
||||
.PHONY: autodoc
|
||||
autodoc:
|
||||
@echo "Hello autodoc!"
|
||||
|
|
|
|||
Loading…
Reference in a new issue