aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2010-10-18 18:53:08 -0400
committerChris Ball <cjb@laptop.org>2010-10-18 18:53:08 -0400
commit59d39826cc04b30520171f56df81067ff582aa2e (patch)
tree2fae8134ec357eafeda470e51b703f5d0097dbc5 /Makefile
parentc539bb1fe92f7836d1eb0b9cbb969e1195ca385b (diff)
parent8f1cd4f5eecba8e3322ea6725d71e430520d1585 (diff)
downloadbugseverywhere-59d39826cc04b30520171f56df81067ff582aa2e.tar.gz
Merge branch 'master' of http://www.physics.drexel.edu/~wking/code/git/be
Conflicts: interfaces/web/web.py
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0b96832..c7203df 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,11 @@
# along with Bugs Everywhere. If not, see <http://www.gnu.org/licenses/>.
SHELL = /bin/bash
-RM = rm
+RM = /bin/rm
+DB2MAN = http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl
+XP = /usr/bin/xsltproc --nonet --param man.charmap.use.subset "0" \
+ --param make.year.ranges "1" --param make.single.year.ranges "1"
+
#PATH = /usr/bin:/bin # must include sphinx-build for 'sphinx' target.
#PREFIX = /usr/local
@@ -75,8 +79,8 @@ libbe/_version.py:
.PHONY: man
man: ${MANPAGE_FILES}
-%.1: %.1.sgml
- docbook-to-man $< > $@
+%.1: %.1.xml
+ $(XP) -o $@ $(DB2MAN) $<
.PHONY: sphinx
sphinx: