doxygen.mk: Generalized template replacement a bit

This commit is contained in:
Jan Lindemann 2009-05-28 18:05:47 +00:00 committed by Jan Lindemann
commit 362b204eb6

View file

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