summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Johnson <mjj29@hecate.trinhall.cam.ac.uk>2006-11-21 14:30:23 +0000
committerMatthew Johnson <mjj29@hecate.trinhall.cam.ac.uk>2006-11-21 14:30:23 +0000
commit0b20f26b873227a3e6faeb7fd2bea4f5a6ea11c5 (patch)
tree04a657c8ff86e32fa044048282b0cb17a7ac209e /Makefile
parentbe6fb35f0970c911aff7ef6de58eb04264412c76 (diff)
remove Hal and use tex4ht
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 77a2323..b3b0737 100644
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ viewerclasses: .viewerclasses
mkdir -p classes
$(JAVAC) -d classes $(JCFLAGS) $(SRCDIR)/dbus/viewer/*.java
touch .viewerclasses
-.classes: $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java $(SRCDIR)/Hal/*.java
+.classes: $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java
mkdir -p classes
$(JAVAC) -d classes $(JCFLAGS) $^
touch .classes
@@ -96,7 +96,7 @@ libdbus-java.so: dbus-java.o
$(LD) $(LDFLAGS) -fpic -shared -o $@ $^ $(LIBS)
$(STRIP) $@
libdbus-java-$(VERSION).jar: .classes
- (cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/*.class org/freedesktop/*.class org/freedesktop/Hal/*.class)
+ (cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/*.class org/freedesktop/*.class)
dbus-java-test-$(VERSION).jar: .testclasses
(cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/test/*.class)
dbus-java-viewer-$(VERSION).jar: .viewerclasses
@@ -118,9 +118,12 @@ doc/dbus-java.ps: doc/dbus-java.dvi .doc
doc/dbus-java.pdf: doc/dbus-java.dvi .doc
(cd doc; pdflatex ../dbus-java.tex)
doc/dbus-java/index.html: dbus-java.tex .doc
- latex2html -local_icons -dir doc/dbus-java dbus-java.tex
-doc/api/index.html: $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java $(SRCDIR)/Hal/*.java .doc
- $(JAVADOC) -quiet -author -link http://java.sun.com/j2se/1.5.0/docs/api/ -d doc/api $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java $(SRCDIR)/Hal/*.java
+ mkdir -p doc/dbus-java/
+ (cd doc/dbus-java; TEX4HTENV=/etc/tex4ht/tex4ht.env htlatex ../../dbus-java.tex "xhtml,2" "" "-cvalidate")
+ rm -f doc/dbus-java/*{4ct,4tc,aux,dvi,idv,lg,lag,tmp,xref}
+ cp doc/dbus-java/dbus-java.html doc/dbus-java/index.html
+doc/api/index.html: $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java .doc
+ $(JAVADOC) -quiet -author -link http://java.sun.com/j2se/1.5.0/docs/api/ -d doc/api $(SRCDIR)/*.java $(SRCDIR)/dbus/*.java
%.1: %.sgml
docbook-to-man $< > $@