forked from bcui6611/couchbase-examples
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate docloader to server package
- Loading branch information
Showing
8 changed files
with
44 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,22 @@ | |||
COUCHBASE_PYTHON_LIB = ../couchbase-python-client/couchbase | |||
|
|||
default: | |||
|
|||
pythonlibdir=$(libdir)/python | |||
|
|||
pythonlib_SCRIPTS= docloader | |||
|
|||
PYTHON_TOOLS= wrapper/docloader | |||
|
|||
${PYTHON_TOOLS}: wrapper/wrapper | |||
cp $< $@ | |||
|
|||
CLEANFILES = ${PYTHON_TOOLS} | |||
bin_SCRIPTS = ${PYTHON_TOOLS} | |||
|
|||
EXTRA_DIST = $(pythonlib_SCRIPTS) | |||
|
|||
install-data-hook: | |||
cp -rf $(COUCHBASE_PYTHON_LIB) $(pythonlibdir) | |||
|
|||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
# couchbase-examples | |||
# Copyright (C) 2011 Couchbase, INC | |||
# All rights reserved. | |||
# | |||
AC_PREREQ(2.59) | |||
m4_include([m4/version.m4]) | |||
AC_INIT(couchbase-examples, VERSION_NUMBER, bin@couchbase.com) | |||
AM_INIT_AUTOMAKE | |||
AC_CONFIG_FILES(Makefile, wrapper/wrapper) | |||
AC_OUTPUT |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
#! /bin/sh | |||
prefix=@prefix@ | |||
exec_prefix=@exec_prefix@ | |||
root=@libdir@/python | |||
|
|||
if test -z "${PYTHONPATH}"; then | |||
PYTHONPATH=$root | |||
else | |||
PYTHONPATH=$root:${PYTHONPATH} | |||
fi | |||
export PYTHONPATH | |||
exec $root/`basename $0` "$@" |