From 9b41c90eadab9018b2c70374be3b9755416f67f8 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 28 Oct 2014 11:01:32 +0000 Subject: [PATCH] * 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. --- winsup/doc/ChangeLog | 6 ++++++ winsup/doc/xidepend | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 695151a0e..7d3c0e2d8 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,9 @@ +2014-10-28 Corinna Vinschen + + * 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 * cygwinenv.xml: Change default setting of dosfilewarning. diff --git a/winsup/doc/xidepend b/winsup/doc/xidepend index 2a1fc831d..d3b233a57 100755 --- a/winsup/doc/xidepend +++ b/winsup/doc/xidepend @@ -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" -- 2.43.5