From: Tim-Philipp Müller Date: Tue, 26 May 2009 09:38:56 +0000 (+0100) Subject: manuals.mak: attempt to make 'make distcheck' work with -jN X-Git-Tag: RELEASE-0.10.24~212 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a265c1451ff97bf11064f8d214ef89083ba6641;p=platform%2Fupstream%2Fgstreamer.git 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. --- 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