This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin/docbook-utils-manpages] Fix an issue with parallel make


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6478dfe7bb953e5a77a8d2018d356f6b794481ed

commit 6478dfe7bb953e5a77a8d2018d356f6b794481ed
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Fri Jun 12 14:18:07 2015 +0100

    Fix an issue with parallel make
    
    The cygwin-ug-net-nochunks.html.gz target does not ensure that the
    cygwin-ug-net/ directory exists, so it can fail if run on it's own, or if the
    cygwin-ug-net/cygwin-ug-net.html target has not yet created it in a parallel
    make.
    
    2015-06-12  Jon Turney  <jon.turney@dronecode.org.uk>
    
    	* Makefile.in (cygwin-ug-net/cygwin-ug-net-nochunks.html.gz):
    	Ensure cygwin-ug-net directory exists.
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>

Diff:
---
 winsup/doc/ChangeLog   | 5 +++++
 winsup/doc/Makefile.in | 1 +
 2 files changed, 6 insertions(+)

diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index 341374f..ae78313 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,5 +1,10 @@
 2015-06-12  Jon Turney  <jon.turney@dronecode.org.uk>
 
+	* Makefile.in (cygwin-ug-net/cygwin-ug-net-nochunks.html.gz):
+	Ensure cygwin-ug-net directory exists.
+
+2015-06-12  Jon Turney  <jon.turney@dronecode.org.uk>
+
 	* Makefile.in (install-man, utils2man.stamp): Add rules to build
 	and install manpages for utils.
 
diff --git a/winsup/doc/Makefile.in b/winsup/doc/Makefile.in
index 2c7e42c..a867742 100644
--- a/winsup/doc/Makefile.in
+++ b/winsup/doc/Makefile.in
@@ -78,6 +78,7 @@ install-man: utils2man.stamp
 
 cygwin-ug-net/cygwin-ug-net-nochunks.html.gz : $(cygwin-ug-net_SOURCES) cygwin.xsl
 	-$(XMLTO) html-nochunks -m $(srcdir)/cygwin.xsl $<
+	-mkdir -p cygwin-ug-net
 	-cp cygwin-ug-net.html cygwin-ug-net/cygwin-ug-net-nochunks.html
 	-rm -f cygwin-ug-net/cygwin-ug-net-nochunks.html.gz
 	-gzip cygwin-ug-net/cygwin-ug-net-nochunks.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]