Fix this error durring docs build by using mkinstalldirs instead of -mkdir.

gmake docs
[snip]
mkdir docs
mkdir: docs: File exists

[EMAIL PROTECTED] /usr/local/dev/repos/ASF/httpd/apreq/trunk> svn diff Makefile.am
Index: Makefile.am
===================================================================
--- Makefile.am (revision 209929)
+++ Makefile.am (working copy)
@@ -74,16 +74,16 @@
 apr_tags: docs/apr.tag docs/apu.tag

 docs/html/feather.gif:
-       -mkdir docs
-       -mkdir docs/html
+       ${mkinstalldirs} docs
+       ${mkinstalldirs} docs/html
(cd docs/html; wget http://httpd.apache.org/docs-2.0/images/feather.gif)

 docs/apu.tag:
-       -mkdir docs
+       ${mkinstalldirs} docs
        echo GENERATE_TAGFILE=`pwd`/docs/apu.tag | $(APU_DOX)

 docs/apr.tag:
-       -mkdir docs
+       ${mkinstalldirs} docs
        echo GENERATE_TAGFILE=`pwd`/docs/apr.tag | $(APR_DOX)

 test: all library_test module_test $(PERL_TEST)

--
END
------------------------------------------------------------
    What doesn't kill us can only make us stronger.
                Nothing is impossible.
                                
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
       http://www.liquidation.com
       http://www.uksurplus.com
       http://www.govliquidation.com
       http://www.gowholesale.com

Reply via email to