httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r604764 - in /httpd/mod_ftp/trunk: Makefile.apxs docs/doxygen-ftp.conf
Date Mon, 17 Dec 2007 03:26:56 GMT
Author: wrowe
Date: Sun Dec 16 19:26:54 2007
New Revision: 604764

URL: http://svn.apache.org/viewvc?rev=604764&view=rev
Log:
Work out dox and docs build targets (a long ways from actually
generating any useful API docs, but at least it's a start).

Added:
    httpd/mod_ftp/trunk/docs/doxygen-ftp.conf   (with props)
Modified:
    httpd/mod_ftp/trunk/Makefile.apxs

Modified: httpd/mod_ftp/trunk/Makefile.apxs
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/Makefile.apxs?rev=604764&r1=604763&r2=604764&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/Makefile.apxs (original)
+++ httpd/mod_ftp/trunk/Makefile.apxs Sun Dec 16 19:26:54 2007
@@ -62,16 +62,28 @@
 	  ( mv $(httpd_conffile) $(httpd_conffile).bak && \
 	    mv $(httpd_conffile).new $(httpd_conffile) );
 
+svnroot=https://svn.apache.org/repos/asf
+manualdir=$(ftp_srcdir)/docs/manual
+
 docs:
-	@if test -d $(ftp_srcdir)/docs/manual/build; then \
-	    cd $(ftp_srcdir)/docs/manual/build && ./build.sh all; \
-	else \
-	    echo 'For details on generating the docs, please read:'; \
-	    echo '  http://httpd.apache.org/docs-project/docsformat.html'; \
+	@if test ! -d $(manualdir)/build; then \
+	  cd $(manualdir); \
+	  svn export $(svnroot)/httpd/docs-build/trunk build; \
+	fi
+	@if test ! -d $(manualdir)/style; then \
+	  cd $(manualdir); \
+	  svn export $(svnroot)/httpd/httpd/branches/2.2.x/docs/manual/style; \
 	fi
+	cd $(manualdir)/build; \
+	  ./build.sh all
 
 dox:
-	doxygen $(ftp_srcdir)/docs/doxygen.conf
+	@if test ! -f $(ftp_srcdir)/docs/doxygen.conf; then \
+	  cd $(ftp_srcdir)/docs; \
+	  svn export $(svnroot)/httpd/httpd/branches/2.2.x/docs/doxygen.conf; \
+	fi
+	cd $(ftp_srcdir); \
+	  doxygen $(ftp_srcdir)/docs/doxygen-ftp.conf
 
 ftpdocs-srcdir = $(ftp_srcdir)/docs/ftproot
 

Added: httpd/mod_ftp/trunk/docs/doxygen-ftp.conf
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/docs/doxygen-ftp.conf?rev=604764&view=auto
==============================================================================
--- httpd/mod_ftp/trunk/docs/doxygen-ftp.conf (added)
+++ httpd/mod_ftp/trunk/docs/doxygen-ftp.conf Sun Dec 16 19:26:54 2007
@@ -0,0 +1,24 @@
+PROJECT_NAME=Apache HTTP Server mod_ftp module API
+
+#INPUT=srclib/apr
+INPUT=.
+RECURSIVE=YES
+FILE_PATTERNS=*.h
+
+OUTPUT_DIRECTORY=docs/dox
+
+ENABLE_PREPROCESSING=YES
+MACRO_EXPANSION=YES
+QUIET=YES
+EXPAND_ONLY_PREDEF=YES
+#EXPAND_AS_DEFINED=
+# not sure why this doesn't work as EXPAND_AS_DEFINED, it should!
+PREDEFINED="FTP_DECLARE(x)=x" \
+       "FTP_DECLARE_NONSTD(x)=x" \
+       FTP_DECLARE_DATA= \
+
+OPTIMIZE_OUTPUT_FOR_C=YES
+
+FULL_PATH_NAMES=YES
+# some autoconf guru needs to make configure set this correctly...
+STRIP_FROM_PATH=/var/www/lxr/source

Propchange: httpd/mod_ftp/trunk/docs/doxygen-ftp.conf
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message