aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index fce6060..b64ce52 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@
#
# Copyright (C) 2008-2011 Anton Batenev <abbat@abbat>
# Ben Finney <benf@cybersource.com.au>
+# Chris Ball <cjb@laptop.org>
# Eric Kow <eric.kow@gmail.com>
# Gianluca Montecchi <gian@grys.it>
# W. Trevor King <wking@drexel.edu>
@@ -32,9 +33,8 @@ RST2HTML = /usr/bin/rst2html
#PATH = /usr/bin:/bin # must include sphinx-build for 'sphinx' target.
-#PREFIX = /usr/local
-PREFIX = ${HOME}
-INSTALL_OPTIONS = "--prefix=${PREFIX}"
+#INSTALL_OPTIONS = "--prefix=/usr/local"
+INSTALL_OPTIONS = "--user"
# Select the documentation you wish to build
DOC = sphinx man
@@ -51,11 +51,11 @@ MANPAGE_FILES = $(patsubst %,${MAN_DIR}/%,${MANPAGES})
MANPAGE_HTML = $(patsubst %,${MAN_DIR}/%.html,${MANPAGES})
GENERATED_FILES += ${MANPAGE_FILES} ${MANPAGE_HTML}
-
+
.PHONY: all
all: build
-
+
.PHONY: build
build: $(LIBBE_VERSION)
python setup.py build
@@ -75,7 +75,7 @@ clean:
$(RM) -rf ${GENERATED_FILES}
$(MAKE) -C ${DOC_DIR} clean
-
+
.PHONY: libbe/_version.py
libbe/_version.py:
git log -1 --date=short --pretty='format:"Autogenerated by make libbe/_version.py"%nversion_info = {%n "date":"%cd",%n "revision":"%H",%n "committer":"%cn"}%n' > $@