use new MKDIR_P macro, but depend on automake >= 1.10.

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3417 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aj 2008-03-10 16:38:01 +00:00
parent 7ec2b320d6
commit 2761549c11
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
AUTOMAKE_OPTIONS = foreign
AUTOMAKE_OPTIONS = foreign 1.10
ACLOCAL_AMFLAGS = -I aclocal
MAINTAINERCLEANFILES = \

View File

@ -28,7 +28,7 @@ if ENABLE_MAN
html.out/*: api/xsl-stylesheets
test -n "$(XSLTPROC)"
-rm -fr html.tmp
$(mkdir_p) html.tmp
$(MKDIR_P) html.tmp
$(XSLTPROC) --nonet --xinclude -o "html.out/api.html" "$(srcdir)/api/html.xsl" "$(srcdir)/api/api.xml"
$(XSLTPROC) --nonet --xinclude -o "html.out/tools.html" "$(srcdir)/api/html.xsl" "$(srcdir)/tools/tools.xml"
mv html.tmp html.out
@ -36,7 +36,7 @@ html.out/*: api/xsl-stylesheets
man.out/*.1: api/xsl-stylesheets
test -n "$(XSLTPROC)"
-rm -fr man.tmp
$(mkdir_p) man.tmp
$(MKDIR_P) man.tmp
$(XSLTPROC) --nonet --xinclude -o "man.out/" "$(srcdir)/api/man.xsl" "$(srcdir)/api/api.xml"
$(XSLTPROC) --nonet --xinclude -o "man.out/" "$(srcdir)/api/man.xsl" "$(srcdir)/tools/tools.xml"
mv man.tmp man.out