From e2b329e7c9ca49bc854076aeebe04fc113b1dd69 Mon Sep 17 00:00:00 2001 From: "ludovic.rousseau" Date: Thu, 9 Oct 2008 09:02:42 +0000 Subject: [PATCH] make the * targets depend on only one dependency to avoid problems on concurrent make (-j) git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3580 c6295689-39f2-0310-b995-f0e70906c6a9 --- doc/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 8614f534..c37e1b39 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -37,7 +37,8 @@ endif if SVN_CHECKOUT if ENABLE_MAN -html.out/*: api.work +html.out/*: html.out +html.out: api.work test -n "$(XSLTPROC)" -rm -fr html.tmp html.out $(MKDIR_P) html.tmp @@ -45,7 +46,8 @@ html.out/*: api.work $(XSLTPROC) --nonet --path "$(srcdir)/api" --xinclude -o "html.tmp/tools.html" "api.work/html.xsl" "$(srcdir)/tools/tools.xml" mv html.tmp html.out -man.out/*.1: api.work +man.out/*.1: man.out +man.out: api.work test -n "$(XSLTPROC)" -rm -fr man.tmp man.out $(MKDIR_P) man.tmp @@ -100,3 +102,4 @@ distclean-local: if test -L man.out; then \ rm -rf man.out; \ fi +