summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-26 10:38:56 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-26 10:38:56 +0100
commit7a265c1451ff97bf11064f8d214ef89083ba6641 (patch)
tree9ebfd782b58fa1cabbb8bba99f5a1f56f2a8cdd3
parent23cdff62ea756f45a3ae4b6dd7f9b35c0d7c140c (diff)
manuals.mak: attempt to make 'make distcheck' work with -jN
Attempt to fix the 'cannot create regular file build/image.entitites: file exists' error I got.
-rw-r--r--docs/manuals.mak12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/manuals.mak b/docs/manuals.mak
index 229969c21c..f4497de14a 100644
--- a/docs/manuals.mak
+++ b/docs/manuals.mak
@@ -80,12 +80,12 @@ debug:
# a rule to copy all of the source for docs into $(builddir)/build
$(BUILDDIR)/$(MAIN): $(XML) $(CSS) $(EXTRA_SRC)
- @-mkdir -p $(BUILDDIR)
- @if test "x$(EXTRA_SRC)" != "x"; then for a in $(EXTRA_SRC); do cp $(srcdir)/$$a $(BUILDDIR); done; fi
- @for a in $(XML); do cp $(srcdir)/$$a $(BUILDDIR); done
- @for a in $(CSS); do cp $(srcdir)/$$a $(BUILDDIR); done
- @cp ../version.entities $(BUILDDIR)
- @cp $(top_srcdir)/docs/url.entities $(BUILDDIR)
+ @-mkdir -p $(BUILDDIR); \
+ if test "x$(EXTRA_SRC)" != "x"; then for a in $(EXTRA_SRC); do cp $(srcdir)/$$a $(BUILDDIR); done; fi ; \
+ for a in $(XML); do cp $(srcdir)/$$a $(BUILDDIR); done ; \
+ for a in $(CSS); do cp $(srcdir)/$$a $(BUILDDIR); done ; \
+ cp ../version.entities $(BUILDDIR) ; \
+ cp $(top_srcdir)/docs/url.entities $(BUILDDIR)
# we should switch to xsltproc
# docbook2html aka jade can't add the encoding easily to the html meta