From efe07f99d52d1c5979340e4f79a80abf19b1c710 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Thu, 23 Oct 2008 21:41:37 +0000 Subject: Add `make dev` target. Use `./utils/run` to launch CouchDB from the source tree and without `make install`. Useful for development. Patch my Hunter Morris, thanks! Closes COUCHDB-114. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@707480 13f79535-47bb-0310-9956-ffa450edef68 --- Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 744424f7..3898295b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,7 @@ ## License for the specific language governing permissions and limitations ## under the License. -SUBDIRS = bin etc src/couchdb src/mochiweb share test var +SUBDIRS = bin etc src/couchdb src/mochiweb share test var utils localdoc_DATA = AUTHORS.gz BUGS.gz CHANGES.gz NEWS.gz README.gz THANKS.gz @@ -36,6 +36,14 @@ README.gz: $(top_srcdir)/README THANKS.gz: $(top_srcdir)/THANKS -gzip -9 < $< > $@ +dev: all + @echo "This command is intended for developers to use;" + @echo "it creates development ini files as well as a" + @echo "$(top_srcdir)/tmp structure for development runtime files" + mkdir -p $(top_srcdir)/tmp/lib + mkdir -p $(top_srcdir)/tmp/log + mkdir -p $(top_srcdir)/tmp/run + .PHONY: local-clean local-clean: maintainer-clean @echo "This command is intended for maintainers to use;" @@ -49,6 +57,7 @@ local-clean: maintainer-clean rm -f $(top_srcdir)/*.tar.gz.* rm -fr $(top_srcdir)/build-aux rm -fr $(top_srcdir)/m4 + rm -fr $(top_srcdir)/tmp find $(top_srcdir) -name Makefile.in -exec rm {} \; .PHONY: distsign -- cgit v1.2.3