winsup/doc: Use xidepend to generate the source list for FAQ targets as well

2015-06-22  Jon Turney  <jon.turney@dronecode.org.uk>

	* Makefile.in (FAQ_SOURCES): Remove and generate with xidepend.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
Jon TURNEY 2015-06-16 18:18:11 +01:00
parent 8d720d6ac7
commit 7e87f1ea1e
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2015-06-22 Jon Turney <jon.turney@dronecode.org.uk>
* Makefile.in (FAQ_SOURCES): Remove and generate with xidepend.
2015-06-22 Jon Turney <jon.turney@dronecode.org.uk>
* utils.xml: Remove 'Usage' prefix from synopses.

View File

@ -35,8 +35,6 @@ DOCBOOK2XTEXI:=docbook2x-texi --xinclude --info --utf8trans-map=charmap
include $(srcdir)/../Makefile.common
-include Makefile.dep
FAQ_SOURCES:= $(wildcard $(srcdir)/faq*.xml)
.SUFFIXES: .html .body
.html.body:
@ -137,9 +135,9 @@ intro2man.stamp: intro.xml man.xsl
@echo ".so intro.1" >cygwin.1
@touch $@
faq/faq.html : $(FAQ_SOURCES)
faq/faq.html : $(faq_SOURCES)
-$(XMLTO) html -o faq -m $(srcdir)/html.xsl $(srcdir)/faq.xml
-sed -i 's;<a name="id[mp][0-9]*"></a>;;g' faq/faq.html
Makefile.dep: cygwin-ug-net.xml cygwin-api.xml
Makefile.dep: cygwin-ug-net.xml cygwin-api.xml faq.xml
cd $(srcdir) && ./xidepend $^ > "${CURDIR}/$@"