Skip to content
Newer
Older
100644 95 lines (77 sloc) 2.91 KB
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
1 ## Licensed under the Apache License, Version 2.0 (the "License"); you may not
350811a @nslater wheeeeeeee
nslater authored Jul 14, 2009
2 ## use this file except in compliance with the License. You may obtain a copy of
3 ## the License at
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
4 ##
5 ## http://www.apache.org/licenses/LICENSE-2.0
6 ##
7 ## Unless required by applicable law or agreed to in writing, software
8 ## distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
350811a @nslater wheeeeeeee
nslater authored Jul 14, 2009
9 ## WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10 ## License for the specific language governing permissions and limitations under
11 ## the License.
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
12
00964d0 @davisp Port Noah's bugfixes to trunk.
davisp authored Sep 30, 2009
13 SUBDIRS = bin etc src share test var utils
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
14
762dc6b @nslater renamed directory variables, stage two
nslater authored Jun 16, 2008
15 localdoc_DATA = AUTHORS.gz BUGS.gz CHANGES.gz NEWS.gz README.gz THANKS.gz
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
16
762dc6b @nslater renamed directory variables, stage two
nslater authored Jun 16, 2008
17 DISTCLEANFILES = $(localdoc_DATA)
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
18
58af6b5 @davisp Port Noah's build fixes back to trunk.
davisp authored Oct 8, 2009
19 EXTRA_DIST = AUTHORS BUGS CHANGES LICENSE NEWS NOTICE README THANKS license.skip
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
20
21 AUTHORS.gz: $(top_srcdir)/AUTHORS
22 -gzip -9 < $< > $@
23
24 BUGS.gz: $(top_srcdir)/BUGS
25 -gzip -9 < $< > $@
26
88c8ac0 @cmlenz Added CHANGES to Makefile.
cmlenz authored Jun 6, 2008
27 CHANGES.gz: $(top_srcdir)/CHANGES
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
28 -gzip -9 < $< > $@
29
30 NEWS.gz: $(top_srcdir)/NEWS
31 -gzip -9 < $< > $@
32
33 README.gz: $(top_srcdir)/README
34 -gzip -9 < $< > $@
35
36 THANKS.gz: $(top_srcdir)/THANKS
37 -gzip -9 < $< > $@
38
8a19831 @davisp Lots of tests for couch_config.erl
davisp authored Jun 24, 2009
39 check: dev
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored Nov 9, 2009
40 $(top_builddir)/test/etap/run
519ba57 @davisp Adding Erlang unit tests.
davisp authored May 30, 2009
41
8a19831 @davisp Lots of tests for couch_config.erl
davisp authored Jun 24, 2009
42 cover: dev
9e9230c @davisp Added code coverage report generation target.
davisp authored May 30, 2009
43 rm -f cover/*.coverdata
49c4173 @davisp Forgot to fix make cover
davisp authored Nov 9, 2009
44 COVER=1 COVER_BIN=./src/couchdb/ $(top_builddir)/test/etap/run
9e9230c @davisp Added code coverage report generation target.
davisp authored May 30, 2009
45 SRC=./src/couchdb/ \
e5813d5 @davisp Add ETap to CouchDB's SVN repository.
davisp authored Sep 29, 2009
46 $(ERL) -noshell \
47 -pa src/etap \
48 -eval 'etap_report:create()' \
641d900 @davisp Remove a redundant -noshell from the make cover target.
davisp authored Jun 11, 2009
49 -s init stop > /dev/null 2>&1
9e9230c @davisp Added code coverage report generation target.
davisp authored May 30, 2009
50
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored Oct 23, 2008
51 dev: all
52 @echo "This command is intended for developers to use;"
53 @echo "it creates development ini files as well as a"
a6ef08d @davisp Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) inst…
davisp authored Aug 18, 2009
54 @echo "$(top_builddir)/tmp structure for development runtime files."
beedd68 @janl Add line about instructions on how to use `make dev`. Patch by Michae…
janl authored Nov 2, 2008
55 @echo "Use ./utils/run to launch CouchDB from the source tree."
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored Nov 26, 2009
56 mkdir -p $(top_builddir)/etc/couchdb/default.d
57 mkdir -p $(top_builddir)/etc/couchdb/local.d
a6ef08d @davisp Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) inst…
davisp authored Aug 18, 2009
58 mkdir -p $(top_builddir)/tmp/lib
59 mkdir -p $(top_builddir)/tmp/log
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored Nov 26, 2009
60 mkdir -p $(top_builddir)/tmp/run/couchdb
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored Oct 23, 2008
61
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored Nov 9, 2009
62 distclean-local:
63 rm -fr $(top_builddir)/tmp
64
abbbf5d @nslater added distsign target
nslater authored Aug 15, 2008
65 .PHONY: local-clean
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
66 local-clean: maintainer-clean
67 @echo "This command is intended for maintainers to use;"
68 @echo "it deletes files that may need special tools to rebuild."
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored Aug 18, 2008
69 rm -f $(top_srcdir)/INSTALL
70 rm -f $(top_srcdir)/acinclude.m4
71 rm -f $(top_srcdir)/aclocal.m4
72 rm -f $(top_srcdir)/config.h.in
73 rm -f $(top_srcdir)/configure
00964d0 @davisp Port Noah's bugfixes to trunk.
davisp authored Sep 30, 2009
74 rm -f $(top_srcdir)/test/etap/temp.*
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored Aug 18, 2008
75 rm -f $(top_srcdir)/*.tar.gz
76 rm -f $(top_srcdir)/*.tar.gz.*
77 find $(top_srcdir) -name Makefile.in -exec rm {} \;
abbbf5d @nslater added distsign target
nslater authored Aug 15, 2008
78
69d1f1d @nslater added licence check, and licence.skip
nslater authored Jul 14, 2009
79 distcheck-hook:
80 grep -rL 'http://www.apache.org/licenses/LICENSE-2.0' * \
9559bf4 @nslater build fails, note to self
nslater authored Jul 16, 2009
81 | grep -vEf license.skip; \
69d1f1d @nslater added licence check, and licence.skip
nslater authored Jul 14, 2009
82 test "$$?" -eq 1
83
abbbf5d @nslater added distsign target
nslater authored Aug 15, 2008
84 .PHONY: distsign
8bcfbdb @nslater added make check to distsign dep
nslater authored Sep 30, 2009
85 distsign: distcheck check
9559bf4 @nslater build fails, note to self
nslater authored Jul 16, 2009
86 @# @@ unpack archive and run diff -r to double check missing files
87 @# @@ does automake have anything that does this?
14aa1c1 @nslater force it to sign with my key
nslater authored Nov 16, 2009
88 gpg --armor --detach-sig --default-key 8FBFCFBF \
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored Aug 18, 2008
89 < $(top_srcdir)/$(distdir).tar.gz \
90 > $(top_srcdir)/$(distdir).tar.gz.asc
91 md5sum $(top_srcdir)/$(distdir).tar.gz \
92 > $(top_srcdir)/$(distdir).tar.gz.md5
93 sha1sum $(top_srcdir)/$(distdir).tar.gz \
94 > $(top_srcdir)/$(distdir).tar.gz.sha
Something went wrong with that request. Please try again.