couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r669710 - /incubator/couchdb/branches/runtimeconfig/src/couchdb/Makefile.am
Date Thu, 19 Jun 2008 21:46:47 GMT
Author: nslater
Date: Thu Jun 19 14:46:47 2008
New Revision: 669710

URL: http://svn.apache.org/viewvc?rev=669710&view=rev
Log:
experimental documentation generation

Modified:
    incubator/couchdb/branches/runtimeconfig/src/couchdb/Makefile.am

Modified: incubator/couchdb/branches/runtimeconfig/src/couchdb/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/couchdb/branches/runtimeconfig/src/couchdb/Makefile.am?rev=669710&r1=669709&r2=669710&view=diff
==============================================================================
--- incubator/couchdb/branches/runtimeconfig/src/couchdb/Makefile.am (original)
+++ incubator/couchdb/branches/runtimeconfig/src/couchdb/Makefile.am Thu Jun 19 14:46:47 2008
@@ -83,6 +83,19 @@
 	$@ < $<
 	chmod +x $@
 
+nobase_dist_localdata_DATA = doc
+
+doc: $(couch_file_collection)
+	mkdir -p doc
+	cd doc && \
+	for file in $(couch_file_collection); do \
+	    if test -n "$$edoc_files"; then \
+	        edoc_files="$$edoc_files, "; \
+	    fi; \
+	    edoc_files="$$edoc_files \"../$$file\""; \
+	done; \
+	erl -noshell -run edoc_run files ["$$edoc_files"]
+
 %.beam: %.erl
 	$(ERLC) $<
 
@@ -97,3 +110,4 @@
 	if test -f "$(DESTDIR)/$(couchprivlibdir)/couch_erl_driver"; then \
 	    rm -f "$(DESTDIR)/$(couchprivlibdir)/couch_erl_driver.so"; \
 	fi
+



Mime
View raw message