mirror of
https://github.com/frej/fast-export.git
synced 2025-11-13 22:25:42 +01:00
Without really knowing the svn API, using plain svn_fs_open() complained about a missing /foo/DB_CONFIG even on fsfs type repos. Use svn_repos_open() to open the repo and use svn_repos_fs() to get the fs instead of using svn_fs_open() since even the headers say I wouldn't want to use it directly... and they're right, obviously. :) Signed-off-by: Rocco Rutte <pdmef@gmx.net>
15 lines
341 B
Makefile
15 lines
341 B
Makefile
SVN ?= /usr/local/svn
|
|
APR_INCLUDES ?= /usr/include/apr-1.0
|
|
CFLAGS += -I${APR_INCLUDES} -I${SVN}/include/subversion-1 -pipe -O2 -std=c99
|
|
LDFLAGS += -L${SVN}/lib -lsvn_fs-1 -lsvn_repos-1
|
|
|
|
all: svn-fast-export svn-archive
|
|
|
|
svn-fast-export: svn-fast-export.c
|
|
svn-archive: svn-archive.c
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
rm -rf svn-fast-export svn-archive
|