blob: 0722f1218d1addeeb56f57b2f7c992243f99d217 [file] [log] [blame]
Bryan Duxbury7173bd92010-05-02 22:54:22 +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 Reiss3e07a8f2010-10-05 02:38:59 +000020SUBDIRS = src
Bryan Duxbury7173bd92010-05-02 22:54:22 +000021
Bryan Duxbury7173bd92010-05-02 22:54:22 +000022install: all
David Reissd09f09c2010-05-18 21:32:16 +000023 mkdir -p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift) ; \
24 mkdir -p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift)/ebin ; \
25 mkdir -p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift)/include ; \
26 mkdir -p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift)/src ; \
27 for p in ebin/*.app* ebin/*.beam include/*.hrl src/*.erl ; \
28 do $(INSTALL) $$p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift)/$$p ; \
David Reiss9e2fd792010-05-18 16:52:48 +000029 done
Bryan Duxbury7173bd92010-05-02 22:54:22 +000030
31uninstall:
David Reissd09f09c2010-05-18 21:32:16 +000032 rm -rf $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift)
Bryan Duxbury7173bd92010-05-02 22:54:22 +000033
Bryan Duxbury7173bd92010-05-02 22:54:22 +000034
David Reiss9e2fd792010-05-18 16:52:48 +000035maintainer-clean-local:
36 rm -rf ebin
Bryan Duxbury7173bd92010-05-02 22:54:22 +000037
David Reiss653eada2010-10-05 02:38:58 +000038EXTRA_DIST = include src
39
Bryan Duxbury7173bd92010-05-02 22:54:22 +000040MAINTAINERCLEANFILES = Makefile.in