David Reiss | ea2cba8 | 2009-03-30 21:35:00 +0000 | [diff] [blame] | 1 | # |
| 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 | |
Bryan Duxbury | 6e292e5 | 2011-06-15 20:34:53 +0000 | [diff] [blame] | 20 | DESTDIR ?= / |
| 21 | |
jfarrell | 5a900ea | 2013-08-18 10:54:52 -0400 | [diff] [blame] | 22 | if HAVE_BUNDLER |
jfarrell | 507740c | 2014-01-22 22:20:21 -0500 | [diff] [blame] | 23 | |
| 24 | all-local: |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 25 | $(BUNDLER) install |
Roger Meier | a2d12b6 | 2015-03-24 21:15:06 +0100 | [diff] [blame] | 26 | $(BUNDLER) exec rake build_ext |
Kevin Clark | 4bd8916 | 2008-07-08 00:47:49 +0000 | [diff] [blame] | 27 | |
| 28 | install-exec-hook: |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 29 | $(BUNDLER) exec rake install |
Kevin Clark | 4bd8916 | 2008-07-08 00:47:49 +0000 | [diff] [blame] | 30 | |
| 31 | clean-local: |
jfarrell | f13e431 | 2015-08-25 00:39:29 -0400 | [diff] [blame] | 32 | $(BUNDLER) install |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 33 | $(BUNDLER) exec rake clean |
James E. King III | b96c438 | 2019-01-24 17:45:07 -0500 | [diff] [blame] | 34 | $(RM) -r spec/gen-rb/ |
Kevin Clark | 4bd8916 | 2008-07-08 00:47:49 +0000 | [diff] [blame] | 35 | |
| 36 | check-local: all |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 37 | $(BUNDLER) install |
| 38 | $(BUNDLER) exec rake |
jfarrell | 507740c | 2014-01-22 22:20:21 -0500 | [diff] [blame] | 39 | |
Bryan Duxbury | ec47358 | 2009-04-07 16:31:04 +0000 | [diff] [blame] | 40 | endif |
| 41 | |
James E. King III | b96c438 | 2019-01-24 17:45:07 -0500 | [diff] [blame] | 42 | dist-hook: |
| 43 | $(RM) -r $(distdir)/spec/gen-rb/ |
| 44 | |
jfarrell | 8fd8c63 | 2014-07-10 09:14:51 -0400 | [diff] [blame] | 45 | EXTRA_DIST = \ |
jfarrell | f13e431 | 2015-08-25 00:39:29 -0400 | [diff] [blame] | 46 | coding_standards.md \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 47 | Rakefile \ |
| 48 | Gemfile \ |
| 49 | thrift.gemspec \ |
| 50 | lib \ |
| 51 | ext \ |
| 52 | benchmark \ |
| 53 | script \ |
| 54 | spec \ |
| 55 | README.md |