diff options
author | Shaun McCance <shaunm@gnome.org> | 2010-01-02 15:04:23 -0600 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2010-01-02 15:04:23 -0600 |
commit | 26ae8cc874e46e265ded319315a3e7a9e1ab213e (patch) | |
tree | 46d8d0daa36f22fb1d7add2874485f35d1cc0836 /doc | |
parent | ff58bc451389c53d34f4511a7fc78254bd11e51a (diff) | |
download | yelp-xsl-26ae8cc874e46e265ded319315a3e7a9e1ab213e.tar.gz |
Cleaning up xsldoc Makefile
Diffstat (limited to 'doc')
-rw-r--r-- | doc/yelp-xsl/Makefile.am | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/yelp-xsl/Makefile.am b/doc/yelp-xsl/Makefile.am index ca4906f7..1dccf1fd 100644 --- a/doc/yelp-xsl/Makefile.am +++ b/doc/yelp-xsl/Makefile.am @@ -16,6 +16,8 @@ xsldoc_xsls = $(filter-out %db2html-suppressed.xsl, \ xsldoc_base = $(sort $(foreach xsl,$(xsldoc_xsls), $(basename $(notdir $(xsl))))) xsldoc_pages = $(patsubst %, C/%.page, $(xsldoc_base)) +.PHONY: xsldoc-check-links xsldoc-clean + if ENABLE_DOC all: $(xsldoc_pages) @@ -29,10 +31,9 @@ $(xsldoc_pages): $(xsldoc_xsls) xsldoc-scan.awk xsldoc-scan.xsl C/index.cache: $(xsldoc_pages) $(srcdir)/mal2cache "$@" "$(ABS_SRCDIR)/../../xslt/mallard/cache/mal-cache.xsl" C/*.page -.PHONY: yelp-xsl-check-links -check: yelp-xsl-check-links +check: xsldoc-check -yelp-xsl-check-links: C/index.cache +xsldoc-check: C/index.cache for page in $(wildcard C/*.page); do \ xsltproc --stringparam xsldoc.cache.file C/index.cache "$(srcdir)/xsldoc-check.xsl" "$$page" || exit 1; \ done @@ -55,11 +56,10 @@ gnome-doc-xslt-check-xsldoc: $(xsldoc_docs) @(echo "<xsldoc>"; cat $(xsldoc_docs); echo "</xsldoc>") \ | xsltproc "$(srcdir)/xsldoc-check.xsl" - 1> /dev/null -#.PHONY: clean-xsldoc -clean-local: clean_xsldoc -clean-doc-dir: clean_xsldoc -clean_xsldoc: - rm -f $(xsldoc_pages) +.PHONY: xsldoc-clean +clean-local: xsldoc-clean +xsldoc-clean: + rm -f $(xsldoc_pages) C/T__*.page C/P__*.page C/M__*.page C/index.cache EXTRA_DIST = \ mal2cache \ |