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.
This commit is contained in:
Tim-Philipp Müller 2009-05-26 10:38:56 +01:00
parent 23cdff62ea
commit 7a265c1451

View file

@ -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