Final touches: get it working with the changes directory name, detect missing taglist binary
This commit is contained in:
parent
ffb4055499
commit
6be5f2a79b
@ -38,8 +38,8 @@ doxygen:
|
||||
doxygen $(top_srcdir)/config/Doxyfile
|
||||
|
||||
tags:
|
||||
cd $(top_srcdir)/doc/tags && $(MAKE) all
|
||||
cp -f $(top_srcdir)/doc/tags/*.html $(top_srcdir)/doc/html/
|
||||
cd $(top_srcdir)/doc/templates && $(MAKE) all
|
||||
cp -f $(top_srcdir)/doc/templates/*.html $(top_srcdir)/doc/html/
|
||||
|
||||
mostlyclean clean:
|
||||
$(RM) *~ *.bak *#
|
||||
@ -49,5 +49,5 @@ distclean: clean
|
||||
# This command is intended for maintainers to use; it deletes files
|
||||
# that may need special tools to rebuild.
|
||||
maintainer-clean: distclean
|
||||
cd $(top_srcdir)/doc/tags && $(MAKE) $(MAKECMDGOALS)
|
||||
cd $(top_srcdir)/doc/templates && $(MAKE) $(MAKECMDGOALS)
|
||||
rm -rf $(top_srcdir)/doc/html/*
|
||||
|
||||
7
doc/templates/Makefile
vendored
7
doc/templates/Makefile
vendored
@ -37,7 +37,7 @@ all: tags
|
||||
tags: $(TABLES) Iptc
|
||||
@./gen.py *.html.in
|
||||
|
||||
$(TABLES):
|
||||
$(TABLES): $(TAGLIST)
|
||||
@echo Generating $@ table...
|
||||
@$(TAGLIST) $@ | awk -f tags.awk > $@.xml
|
||||
@java org.apache.xalan.xslt.Process -IN $@.xml -XSL tags.xsl -OUT $@.tmp
|
||||
@ -45,7 +45,7 @@ $(TABLES):
|
||||
@touch $@
|
||||
@rm -f $@.tmp
|
||||
|
||||
Iptc:
|
||||
Iptc: $(TAGLIST)
|
||||
@echo Generating $@ table...
|
||||
@$(TAGLIST) $@ | awk -f iptc.awk > $@.xml
|
||||
@java org.apache.xalan.xslt.Process -IN $@.xml -XSL iptc.xsl -OUT $@.tmp
|
||||
@ -53,6 +53,9 @@ Iptc:
|
||||
@touch $@
|
||||
@rm -f $@.tmp
|
||||
|
||||
$(TAGLIST):
|
||||
$(error File $(TAGLIST) does not exist. Did you build the library and examples?)
|
||||
|
||||
mostlyclean:
|
||||
rm -f *.xml
|
||||
rm -f *.tmp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user