summaryrefslogtreecommitdiff
path: root/debian-java-faq/Makefile
diff options
context:
space:
mode:
authorTorsten Werner <twerner@debian.org>2009-07-30 13:22:24 +0000
committerTorsten Werner <twerner@debian.org>2009-07-30 13:22:24 +0000
commit0072bc909d31b946f26d349baf6a8e49a8f7e4b3 (patch)
tree185f93fb376971d7e87ac35e312d66b9714c0332 /debian-java-faq/Makefile
parent45286ffa67c15af02b5bf24138c2334028bb1d9d (diff)
downloadjava-common-debian/0.33.tar.gz
* Add myself to Uploaders.debian/0.33
* Add a local copy of debian-java-faq to avoid network (CVS) access during build time. * Sync with Ubuntu: - Switch to OpenJDK as the default JDK/JRE. * Update Standards-Version: 3.8.2: - Add Vcs headers to debian/control. * default-jdk-builddep: Depend on gcj-jdk instead of java-gcj-compat-dev. * Build for hppa. * Default to openjdk-6 on armel. * On powerpc, default back to openjdk-6 instead of cacao-oj6. Still more testsuite failures in the OpenJDK testsuite with cacao compared to the zero port. * debian/rules - Fix jvmdir for powerpc, so that default-java symlink is correct. (LP: #256949) * On amd64, i386, ia64 and sparc, point default-* to openjdk-6, on powerpc, point to cacao-oj6.
Diffstat (limited to 'debian-java-faq/Makefile')
-rw-r--r--debian-java-faq/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/debian-java-faq/Makefile b/debian-java-faq/Makefile
new file mode 100644
index 0000000..0c24a49
--- /dev/null
+++ b/debian-java-faq/Makefile
@@ -0,0 +1,40 @@
+# Makefile for a manual in the Debian Documentation Project manuals.sgml
+# tree.
+
+# The directory in which this makefile resides must also contain a file
+# called <directoryname>.sgml, which is the top-level file for the manual
+# in this directory.
+
+# What is the current manual's name
+#MANUAL := $(shell basename $(shell pwd))
+MANUAL := debian-java-faq
+# Where are we publishing to?
+# (this can be overriden by a higher level makefile)
+PUBLISHDIR := /org/www.debian.org/www/doc/manuals
+
+# What do we want by default?
+all: publish
+
+# This target installs the generated HTML in the published directory.
+publish: $(MANUAL).html/index.html
+# fail if there is no PUBLISHDIR
+ [ -d $(PUBLISHDIR) ] || exit 1
+ rm -f $(PUBLISHDIR)/$(MANUAL)/*.html
+ install -d -m 755 $(PUBLISHDIR)/$(MANUAL)
+ install -m 644 --preserve-timestamps $(MANUAL).html/*.html \
+ $(PUBLISHDIR)/$(MANUAL)/
+
+$(MANUAL).html/index.html: $(wildcard *.sgml)
+ debiandoc2html $(MANUAL).sgml
+
+# ensure our SGML is valid
+# (add this to $(MANUAL).html rule to prevent building if not)
+validate:
+ nsgmls -gues $(MANUAL).sgml
+
+clean:
+ rm -rf $(MANUAL).html
+
+distclean: clean
+
+.PHONY: all publish clean distclean validate