Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 93 lines (75 sloc) 2.856 kb
544a38d Christopher Lenz Imported trunk.
cmlenz authored
1 ## Licensed under the Apache License, Version 2.0 (the "License"); you may not
350811a Noah Slater wheeeeeeee
nslater authored
2 ## use this file except in compliance with the License. You may obtain a copy of
3 ## the License at
544a38d Christopher Lenz Imported trunk.
cmlenz authored
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 Noah Slater wheeeeeeee
nslater authored
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 Christopher Lenz Imported trunk.
cmlenz authored
12
00964d0 Paul J. Davis Port Noah's bugfixes to trunk.
davisp authored
13 SUBDIRS = bin etc src share test var utils
544a38d Christopher Lenz Imported trunk.
cmlenz authored
14
762dc6b Noah Slater renamed directory variables, stage two
nslater authored
15 localdoc_DATA = AUTHORS.gz BUGS.gz CHANGES.gz NEWS.gz README.gz THANKS.gz
544a38d Christopher Lenz Imported trunk.
cmlenz authored
16
762dc6b Noah Slater renamed directory variables, stage two
nslater authored
17 DISTCLEANFILES = $(localdoc_DATA)
544a38d Christopher Lenz Imported trunk.
cmlenz authored
18
58af6b5 Paul J. Davis Port Noah's build fixes back to trunk.
davisp authored
19 EXTRA_DIST = AUTHORS BUGS CHANGES LICENSE NEWS NOTICE README THANKS license.skip
544a38d Christopher Lenz Imported trunk.
cmlenz authored
20
21 AUTHORS.gz: $(top_srcdir)/AUTHORS
22 -gzip -9 < $< > $@
23
24 BUGS.gz: $(top_srcdir)/BUGS
25 -gzip -9 < $< > $@
26
88c8ac0 Christopher Lenz Added CHANGES to Makefile.
cmlenz authored
27 CHANGES.gz: $(top_srcdir)/CHANGES
544a38d Christopher Lenz Imported trunk.
cmlenz authored
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 Paul J. Davis Lots of tests for couch_config.erl
davisp authored
39 check: dev
e29a192 Paul J. Davis Fixes 'make distcheck' to run the test suite.
davisp authored
40 $(top_builddir)/test/etap/run
519ba57 Paul J. Davis Adding Erlang unit tests.
davisp authored
41
8a19831 Paul J. Davis Lots of tests for couch_config.erl
davisp authored
42 cover: dev
9e9230c Paul J. Davis Added code coverage report generation target.
davisp authored
43 rm -f cover/*.coverdata
49c4173 Paul J. Davis Forgot to fix make cover
davisp authored
44 COVER=1 COVER_BIN=./src/couchdb/ $(top_builddir)/test/etap/run
9e9230c Paul J. Davis Added code coverage report generation target.
davisp authored
45 SRC=./src/couchdb/ \
e5813d5 Paul J. Davis Add ETap to CouchDB's SVN repository.
davisp authored
46 $(ERL) -noshell \
47 -pa src/etap \
48 -eval 'etap_report:create()' \
641d900 Paul J. Davis Remove a redundant -noshell from the make cover target.
davisp authored
49 -s init stop > /dev/null 2>&1
9e9230c Paul J. Davis Added code coverage report generation target.
davisp authored
50
efe07f9 Jan Lehnardt Add `make dev` target. Use `./utils/run` to launch CouchDB from the sour...
janl authored
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 Paul J. Davis Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) instead...
davisp authored
54 @echo "$(top_builddir)/tmp structure for development runtime files."
beedd68 Jan Lehnardt Add line about instructions on how to use `make dev`. Patch by Michael H...
janl authored
55 @echo "Use ./utils/run to launch CouchDB from the source tree."
a6ef08d Paul J. Davis Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) instead...
davisp authored
56 mkdir -p $(top_builddir)/tmp/lib
57 mkdir -p $(top_builddir)/tmp/log
58 mkdir -p $(top_builddir)/tmp/run
efe07f9 Jan Lehnardt Add `make dev` target. Use `./utils/run` to launch CouchDB from the sour...
janl authored
59
e29a192 Paul J. Davis Fixes 'make distcheck' to run the test suite.
davisp authored
60 distclean-local:
61 rm -fr $(top_builddir)/tmp
62
abbbf5d Noah Slater added distsign target
nslater authored
63 .PHONY: local-clean
544a38d Christopher Lenz Imported trunk.
cmlenz authored
64 local-clean: maintainer-clean
65 @echo "This command is intended for maintainers to use;"
66 @echo "it deletes files that may need special tools to rebuild."
2e7a88a Noah Slater updated top level Makefile.am in line with Automake feedback
nslater authored
67 rm -f $(top_srcdir)/INSTALL
68 rm -f $(top_srcdir)/acinclude.m4
69 rm -f $(top_srcdir)/aclocal.m4
70 rm -f $(top_srcdir)/config.h.in
71 rm -f $(top_srcdir)/configure
00964d0 Paul J. Davis Port Noah's bugfixes to trunk.
davisp authored
72 rm -f $(top_srcdir)/test/etap/temp.*
2e7a88a Noah Slater updated top level Makefile.am in line with Automake feedback
nslater authored
73 rm -f $(top_srcdir)/*.tar.gz
74 rm -f $(top_srcdir)/*.tar.gz.*
75 find $(top_srcdir) -name Makefile.in -exec rm {} \;
abbbf5d Noah Slater added distsign target
nslater authored
76
69d1f1d Noah Slater added licence check, and licence.skip
nslater authored
77 distcheck-hook:
78 grep -rL 'http://www.apache.org/licenses/LICENSE-2.0' * \
9559bf4 Noah Slater build fails, note to self
nslater authored
79 | grep -vEf license.skip; \
69d1f1d Noah Slater added licence check, and licence.skip
nslater authored
80 test "$$?" -eq 1
81
abbbf5d Noah Slater added distsign target
nslater authored
82 .PHONY: distsign
8bcfbdb Noah Slater added make check to distsign dep
nslater authored
83 distsign: distcheck check
9559bf4 Noah Slater build fails, note to self
nslater authored
84 @# @@ unpack archive and run diff -r to double check missing files
85 @# @@ does automake have anything that does this?
2e7a88a Noah Slater updated top level Makefile.am in line with Automake feedback
nslater authored
86 gpg --armor --detach-sig \
87 < $(top_srcdir)/$(distdir).tar.gz \
88 > $(top_srcdir)/$(distdir).tar.gz.asc
89 md5sum $(top_srcdir)/$(distdir).tar.gz \
90 > $(top_srcdir)/$(distdir).tar.gz.md5
91 sha1sum $(top_srcdir)/$(distdir).tar.gz \
92 > $(top_srcdir)/$(distdir).tar.gz.sha
Something went wrong with that request. Please try again.