summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Johnson <mjj29@qadesh.matthew.ath.cx>2009-02-20 21:54:14 +0000
committerMatthew Johnson <mjj29@qadesh.matthew.ath.cx>2009-02-20 21:54:14 +0000
commit3201f076de801ba502c63ded3a55972d65ea0aa0 (patch)
treeb256da96abdce348b5929ad219d29c29d5bf0312 /Makefile
parent9e874b4b45556e2f4e8d1992dc81060a3f582230 (diff)
patches from Omair Majid <omajid@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4b39270..72a23b9 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ JAVADOC?=javadoc
JAR?=jar
MAKE?=make
MSGFMT?=msgfmt
+DOCBOOKTOMAN?=docbook-to-man
# Program parameters
CPFLAG?=-classpath
@@ -137,7 +138,7 @@ doc/api/index.html: $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java .doc
$(JAVADOC) -quiet -author -link http://java.sun.com/j2se/1.5.0/docs/api/ -classpath $(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar -d doc/api $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java $(SRCDIR)/dbus/types/*.java $(SRCDIR)/dbus/exceptions/*.java
%.1: %.sgml
- docbook-to-man $< > $@
+ $(DOCBOOKTOMAN) $< > $@
bin/%: %.sh .bin
sed 's,\%JARPATH\%,$(JARPREFIX),;s,\%JAVAUNIXJARPATH\%,$(JAVAUNIXJARDIR),;s,\%JAVAUNIXLIBPATH\%,$(JAVAUNIXLIBDIR),;s,\%VERSION\%,$(VERSION),;s,\%DEBUG\%,$(DEBUG),;s,\%JAVA\%,$(JAVA),' < $< > $@