From 7a265c1451ff97bf11064f8d214ef89083ba6641 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 26 May 2009 10:38:56 +0100 Subject: [PATCH] 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. --- docs/manuals.mak | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/manuals.mak b/docs/manuals.mak index 229969c..f4497de 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 -- 2.7.4