* xidepend: Make PDF file dependent on the same input files as the

HTML file of the same name to trigger automatic rebuild of PDFs on
	source file changes as well.
This commit is contained in:
Corinna Vinschen 2014-10-28 11:01:32 +00:00
parent 24485a663c
commit 9b41c90ead
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2014-10-28 Corinna Vinschen <corinna@vinschen.de>
* xidepend: Make PDF file dependent on the same input files as the
HTML file of the same name to trigger automatic rebuild of PDFs on
source file changes as well.
2014-10-28 Corinna Vinschen <corinna@vinschen.de>
* cygwinenv.xml: Change default setting of dosfilewarning.

View File

@ -15,7 +15,7 @@ do
then
# This file uses XIncludes. Let's chase its deps recursively.
base=`basename "$f" .xml`
if [ $subproc -eq 0 ] ; then echo -n "$base/$base.html:" ; fi
if [ $subproc -eq 0 ] ; then echo -n "$base/$base.html $base/$base.pdf:" ; fi
deps=`grep 'xi:include.*href' "$f" | cut -f2 -d\" | tr '\n' ' '`
echo -n " $deps"