Skip to content
Newer
Older
100644 164 lines (136 sloc) 3.77 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
9807cda @janl If aclocal needs to be called during a build, its options are taken
janl authored Jun 2, 2010
15 ACLOCAL_AMFLAGS = -I m4
16
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
17 localdoc_DATA = \
18 AUTHORS.gz \
19 BUGS.gz \
20 CHANGES.gz \
f3303f2 @nslater documentation improvements
nslater authored Mar 13, 2010
21 DEVELOPERS.gz \
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
22 INSTALL.gz \
23 INSTALL.Unix.gz \
24 INSTALL.Windows.gz \
25 LICENSE.gz \
26 NEWS.gz \
27 NOTICE.gz \
28 README.gz \
29 THANKS.gz
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
30
762dc6b @nslater renamed directory variables, stage two
nslater authored Jun 16, 2008
31 DISTCLEANFILES = $(localdoc_DATA)
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
32
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
33 EXTRA_DIST = \
34 AUTHORS \
35 BUGS \
36 CHANGES \
f3303f2 @nslater documentation improvements
nslater authored Mar 13, 2010
37 DEVELOPERS \
3eb752a @nslater restore INSTALL file to dist
nslater authored Mar 13, 2010
38 INSTALL \
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
39 INSTALL.Unix \
40 INSTALL.Windows \
41 LICENSE \
42 NEWS \
43 NOTICE \
44 README \
45 THANKS \
3d171e7 @nslater fixed build
nslater authored Feb 21, 2013
46 build-aux/dist-error \
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
47 build-aux/sphinx-build \
48 build-aux/sphinx-touch \
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
49 license.skip
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
50
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
51 AUTHORS.gz: AUTHORS
52 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
53
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
54 BUGS.gz: BUGS
55 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
56
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
57 CHANGES.gz: CHANGES
58 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
59
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
60 DEVELOPERS.gz: DEVELOPERS
61 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
62
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
63 INSTALL.gz: INSTALL
64 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
65
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
66 INSTALL.Unix.gz: INSTALL.Unix
67 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
68
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
69 INSTALL.Windows.gz: INSTALL.Windows
70 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
71
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
72 LICENSE.gz: LICENSE
73 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
74
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
75 NEWS.gz: NEWS
76 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
77
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
78 NOTICE.gz: NOTICE
79 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
80
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
81 README.gz: README
82 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
83
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
84 THANKS.gz: THANKS
85 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
86
4d8a866 @janl Break out JavaScript test suite into separate make target `check-js`.
janl authored Jan 7, 2012
87 check: dev check-js
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
88 if TESTS
dbeea8f @davisp Remove the old view engine.
davisp authored Sep 15, 2011
89 $(top_builddir)/test/etap/run $(top_srcdir)/test/etap
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
90 endif
4d8a866 @janl Break out JavaScript test suite into separate make target `check-js`.
janl authored Jan 7, 2012
91
92 check-js: dev
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
93 if TESTS
bf7c74e @tilgovi COUCHDB-1042 - restore libcurl as soft dependency
tilgovi authored Jan 6, 2012
94 if USE_CURL
9bdc5cc @janl Fix `make check-js` for non-`make` builds.
janl authored Dec 22, 2012
95 MAKE=$(MAKE) $(top_builddir)/test/javascript/run
bf7c74e @tilgovi COUCHDB-1042 - restore libcurl as soft dependency
tilgovi authored Jan 6, 2012
96 endif
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
97 endif
519ba57 @davisp Adding Erlang unit tests.
davisp authored May 30, 2009
98
eb3d5d8 Update etap and remove obsolete files
bitdiddle authored Apr 26, 2012
99 check-etap: dev
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
100 if TESTS
eb3d5d8 Update etap and remove obsolete files
bitdiddle authored Apr 26, 2012
101 $(top_builddir)/test/etap/run $(top_srcdir)/test/etap
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
102 endif
eb3d5d8 Update etap and remove obsolete files
bitdiddle authored Apr 26, 2012
103
8a19831 @davisp Lots of tests for couch_config.erl
davisp authored Jun 24, 2009
104 cover: dev
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
105 if TESTS
9e9230c @davisp Added code coverage report generation target.
davisp authored May 30, 2009
106 rm -f cover/*.coverdata
49c4173 @davisp Forgot to fix make cover
davisp authored Nov 9, 2009
107 COVER=1 COVER_BIN=./src/couchdb/ $(top_builddir)/test/etap/run
9e9230c @davisp Added code coverage report generation target.
davisp authored May 30, 2009
108 SRC=./src/couchdb/ \
e5813d5 @davisp Add ETap to CouchDB's SVN repository.
davisp authored Sep 29, 2009
109 $(ERL) -noshell \
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
110 -pa src/etap \
111 -eval 'etap_report:create()' \
641d900 @davisp Remove a redundant -noshell from the make cover target.
davisp authored Jun 11, 2009
112 -s init stop > /dev/null 2>&1
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
113 endif
9e9230c @davisp Added code coverage report generation target.
davisp authored May 30, 2009
114
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored Oct 23, 2008
115 dev: all
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
116 if TESTS
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored Oct 23, 2008
117 @echo "This command is intended for developers to use;"
118 @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
119 @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
120 @echo "Use ./utils/run to launch CouchDB from the source tree."
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored Nov 26, 2009
121 mkdir -p $(top_builddir)/etc/couchdb/default.d
122 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
123 mkdir -p $(top_builddir)/tmp/lib
124 mkdir -p $(top_builddir)/tmp/log
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored Nov 26, 2009
125 mkdir -p $(top_builddir)/tmp/run/couchdb
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
126 endif
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored Oct 23, 2008
127
df02faf @nslater initial round of documentation changes
nslater authored Mar 13, 2010
128 install-data-hook:
129 @echo
130 @echo "You have installed Apache CouchDB, time to relax."
131
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored Nov 9, 2009
132 distclean-local:
596206b @nslater properly clean up source directories after dev target
nslater authored Aug 11, 2010
133 rm -fr $(top_builddir)/etc/couchdb/default.d
134 rm -fr $(top_builddir)/etc/couchdb/local.d
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored Nov 9, 2009
135 rm -fr $(top_builddir)/tmp
5be3eb3 @fdmanana Use absolutes path in distclean-local make target
fdmanana authored Dec 6, 2011
136 rm -f $(top_builddir)/couchdb.stdout
137 rm -f $(top_builddir)/couchdb.stderr
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored Nov 9, 2009
138
abbbf5d @nslater added distsign target
nslater authored Aug 15, 2008
139 .PHONY: local-clean
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
140 local-clean: maintainer-clean
141 @echo "This command is intended for maintainers to use;"
142 @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
143 rm -f $(top_srcdir)/INSTALL
144 rm -f $(top_srcdir)/acinclude.m4
145 rm -f $(top_srcdir)/aclocal.m4
146 rm -f $(top_srcdir)/config.h.in
147 rm -f $(top_srcdir)/configure
00964d0 @davisp Port Noah's bugfixes to trunk.
davisp authored Sep 30, 2009
148 rm -f $(top_srcdir)/test/etap/temp.*
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored Aug 18, 2008
149 rm -f $(top_srcdir)/*.tar.gz
150 rm -f $(top_srcdir)/*.tar.gz.*
64d82c8 @nslater improved find invokation for portability
nslater authored Jul 5, 2010
151 find $(top_srcdir) -name Makefile.in -exec rm -f {} \;
abbbf5d @nslater added distsign target
nslater authored Aug 15, 2008
152
c4a1667 @nslater forward porting r926694
nslater authored Mar 23, 2010
153 dist-hook:
64d82c8 @nslater improved find invokation for portability
nslater authored Jul 5, 2010
154 find $(top_srcdir) -type f -name "._*" -exec rm -f {} \;
155 find $(top_builddir) -type f -name "._*" -exec rm -f {} \;
c4a1667 @nslater forward porting r926694
nslater authored Mar 23, 2010
156
69d1f1d @nslater added licence check, and licence.skip
nslater authored Jul 14, 2009
157 distcheck-hook:
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored Dec 3, 2012
158 $(MAKE) -C bin distcheck-hook
159 $(MAKE) -C src/couchdb/priv distcheck-hook
160 $(MAKE) -C share/doc/build distcheck-hook
69d1f1d @nslater added licence check, and licence.skip
nslater authored Jul 14, 2009
161 grep -rL 'http://www.apache.org/licenses/LICENSE-2.0' * \
c0e7716 @nslater Switch to proper SemVer for builds, add acinclude checks, and remove …
nslater authored Mar 3, 2013
162 | grep --include= -vEf license.skip; \
163 test "$$?" -eq 1
Something went wrong with that request. Please try again.