mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
doxygen.mk: Generalized template replacement a bit
This commit is contained in:
parent
20a95a6fa4
commit
362b204eb6
1 changed files with 3 additions and 2 deletions
|
|
@ -6,6 +6,7 @@ include $(MODDIR)/make/dummy.mk
|
|||
else
|
||||
|
||||
UPLOAD_URL ?= $(UPLOAD_URL_DEVEL_DOC)/$(PROJECT)
|
||||
UNTEMPLATED = $(patsubst %.tmpl,%,$(wildcard *.tmpl))
|
||||
|
||||
all:
|
||||
install:
|
||||
|
|
@ -26,7 +27,7 @@ DOC_FILES = \
|
|||
| sed "s/__PROJECT_CAPNAME__/$(PROJECT_CAPNAME)/" \
|
||||
> $@
|
||||
|
||||
doxygen.done: doxygen.conf
|
||||
doxygen.done: $(UNTEMPLATED)
|
||||
doxygen doxygen.conf
|
||||
touch $@
|
||||
|
||||
|
|
@ -45,6 +46,6 @@ upload.done: doxygen.done cpfiles.done
|
|||
upload.sh html $(UPLOAD_URL)
|
||||
|
||||
clean.doxygen:
|
||||
rm -rf html *.done doxygen.conf
|
||||
rm -rf html *.done $(UNTEMPLATED)
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue