THRIFT-292. Install fb303.thrift in a more sensible location
authorDavid Reiss <dreiss@apache.org>
Sat, 7 Feb 2009 02:37:00 +0000 (02:37 +0000)
committerDavid Reiss <dreiss@apache.org>
Sat, 7 Feb 2009 02:37:00 +0000 (02:37 +0000)
thrift_home is the Thrift installation we are using.
We shouldn't be trying to install back into it.
Use $(prefix) instead.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741831 13f79535-47bb-0310-9956-ffa450edef68

contrib/fb303/cpp/Makefile.am

index dc0955b..19a768d 100644 (file)
@@ -54,7 +54,7 @@ $(eval $(call thrift_template,.,../if/fb303.thrift,-I $(thrift_home)/share  --ge
 include_fb303dir = $(includedir)/thrift/fb303
 include_fb303_HEADERS = FacebookBase.h ServiceTracker.h gen-cpp/FacebookService.h gen-cpp/fb303_constants.h gen-cpp/fb303_types.h
 
-include_fb303ifdir = $(thrift_home)/share/fb303/if
+include_fb303ifdir = $(prefix)/share/fb303/if
 include_fb303if_HEADERS = ../if/fb303.thrift
 
 BUILT_SOURCES = thriftstyle