diff options
author | Ted Gould <ted@canonical.com> | 2009-10-02 14:01:37 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-02 14:01:37 -0500 |
commit | ea435a68fd264e0ef6e60bc4944969bf4fc2f294 (patch) | |
tree | a7ba4f60c8631b48d971114b31f19e1ce74d43af /exporters | |
parent | b4feab671585d451b21d14d2a54ecabcb1eea4af (diff) | |
download | bzr-fastimport-ea435a68fd264e0ef6e60bc4944969bf4fc2f294.tar.gz |
Setting up makefile to use a little pkg-config
Diffstat (limited to 'exporters')
-rw-r--r-- | exporters/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/exporters/Makefile b/exporters/Makefile index 8a4efd9..2b71211 100644 --- a/exporters/Makefile +++ b/exporters/Makefile @@ -1,7 +1,8 @@ -SVN ?= /usr/local/svn -APR_INCLUDES ?= /usr/include/apr-1.0 -CFLAGS += -I${APR_INCLUDES} -I${SVN}/include/subversion-1 -pipe -O2 -std=c99 +SVN ?= /usr +CFLAGS += -I${SVN}/include/subversion-1 -pipe -O2 -std=c99 +CFLAGS += `pkg-config --cflags apr-1` LDFLAGS += -L${SVN}/lib -lsvn_fs-1 -lsvn_repos-1 +LDFLAGS += `pkg-config --libs apr-1` all: svn-fast-export svn-archive |