blob: 3534e277a05779a20c8d2e3142a90211b2b5557c [file] [log] [blame]
David Reissea2cba82009-03-30 21:35:00 +00001#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
19
David Reiss48141bf2009-03-18 23:59:56 +000020EXTRA_DIST = \
21 CHANGELOG \
David Reiss48141bf2009-03-18 23:59:56 +000022 Rakefile \
23 Manifest \
24 setup.rb \
25 lib \
26 ext \
27 benchmark \
28 spec
Kevin Clark4bd89162008-07-08 00:47:49 +000029
30all-local:
31 $(RUBY) setup.rb config
32 $(RUBY) setup.rb setup
33
34install-exec-hook:
35 $(RUBY) setup.rb install
36
David Reiss8c28df22008-11-20 21:24:18 +000037# Make sure this doesn't fail if Ruby is not configured.
Kevin Clark4bd89162008-07-08 00:47:49 +000038clean-local:
David Reiss8c28df22008-11-20 21:24:18 +000039 RUBY=$(RUBY) ; if test -z "$$RUBY" ; then RUBY=: ; fi ; \
40 $$RUBY setup.rb clean
Kevin Clark4bd89162008-07-08 00:47:49 +000041
42check-local: all
Bryan Duxburyec473582009-04-07 16:31:04 +000043if HAVE_RSPEC
44 rake spec
45endif
46