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 20DESTDIR ?= / 21 22if HAVE_BUNDLER 23 24all-local: 25 $(BUNDLER) install 26 $(BUNDLER) exec rake build_ext 27 28install-exec-hook: 29 $(BUNDLER) exec rake install 30 31clean-local: 32 $(BUNDLER) install 33 $(BUNDLER) exec rake clean 34 $(RM) -r spec/gen-rb/ 35 36check-local: all 37 $(BUNDLER) install 38 $(BUNDLER) exec rake 39 40endif 41 42dist-hook: 43 $(RM) -r $(distdir)/spec/gen-rb/ 44 45EXTRA_DIST = \ 46 coding_standards.md \ 47 Rakefile \ 48 Gemfile \ 49 thrift.gemspec \ 50 lib \ 51 ext \ 52 benchmark \ 53 script \ 54 spec \ 55 README.md 56