summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat2
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules22
5 files changed, 22 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index 8acb798..515a599 100644
--- a/Makefile
+++ b/Makefile
@@ -18,9 +18,6 @@ LC_CTYPE=C
all: debian-java-policy debian-java-faq-gen
-publish: policy.html
- scp debian-java-policy/*.html opal@www.debian.org:/org/www.debian.org/www/doc/packaging-manuals/java-policy
-
# Policy part
MAKEOUT=policy.txt policy.ps
OUTPUTS=$(MAKEOUT) policy.xml
@@ -88,8 +85,7 @@ debian-java-faq-gen: debian-java-faq
debian-java-faq-install: debian-java-faq debian-java-faq-gen
(cd $<; make publish PUBLISHDIR=$(PUBLISHDIR))
-debian-java-faq:
- (cvs -d :pserver:anonymous@cvs.debian.org:/cvs/debian-doc -z3 checkout -d debian-java-faq ddp/manuals.sgml/java-faq)
-
debian-java-faq-update: debian-java-faq
- (cd $<; cvs -z3 update -d)
+ svn export svn://svn.debian.org/svn/ddp/manuals/trunk/java-faq/ faq-update/
+ cp faq-update/* $</
+ rm -fr faq-update/
diff --git a/debian/changelog b/debian/changelog
index adf3417..c2e18c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,12 @@ java-common (0.35) UNRELEASED; urgency=low
- Java libraries are no longer required to depend on a JVM
(Closes: #227587)
* Updated to java-faq to match the online version.
+ * Bumped debhelper compat to 7.
+ * Use the version from the changelog rather than the dir to determine
+ the debian "revision" of the default-* packages. It is more robust.
+ * Removed old publish rule - the policy is updated automatically after
+ upload now.
+ * Updated the rules to update the java faq.
-- Niels Thykier <niels@thykier.net> Fri, 26 Mar 2010 21:44:45 +0100
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/debian/control b/debian/control
index 21b1619..08f9787 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian Java Mailing List <debian-java@lists.debian.org>
Uploaders: Stefan Gybas <sgybas@debian.org>, Arnaud Vandyck <avdyk@debian.org>, Michael Koch <konqueror@gmx.de>, Matthias Klose <doko@debian.org>, Torsten Werner <twerner@debian.org>,
Niels Thykier <niels@thykier.net>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 7)
Build-Depends-Indep: debiandoc-sgml, docbook-utils, docbook-xml, dpsyco-devel, lynx
Standards-Version: 3.8.2
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/java-common
diff --git a/debian/rules b/debian/rules
index aa4e208..83941d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@
S = $(EMPTY) $(EMPTY)
mk_cslist = $(subst $(S),$(,)$(S),$(foreach v,$(1),$(v)-$(2)))
vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1)))
-jrel = $(subst java-common-0.,,$(notdir $(CURDIR)))
+jrel = $(shell dpkg-parsechangelog | grep Version | sed "s/Version: 0.//")
DPKG_VARS := $(shell dpkg-architecture)
DEB_HOST_ARCH ?= $(call vafilt,$(DPKG_VARS),DEB_HOST_ARCH)
@@ -62,7 +62,7 @@ install-indep: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
- dh_clean -k -i
+ dh_prep -i
dh_installdirs -i
dh_installdocs -i
@@ -75,13 +75,13 @@ install-stamp: build-stamp
install-arch:
dh_testdir
dh_testroot
- dh_clean -k -s
+ dh_prep -a
binary-arch: install-arch
ifneq (,$(p_jre))
- dh_testdir -s
- dh_testroot -s
+ dh_testdir -a
+ dh_testroot -a
dh_install -a
dh_installdocs -pdefault-jre-headless
dh_installchangelogs -pdefault-jre-headless
@@ -93,10 +93,10 @@ ifneq (,$(p_jre))
ln -sf $$t debian/$$p/usr/share/doc/$$p; \
t=$$p; \
done
- dh_compress -s
- dh_fixperms -s
- dh_installdeb -s
- dh_gencontrol -s -- \
+ dh_compress -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_gencontrol -a -- \
-v$(dversion) \
'-Vjre=$(p_jre)' \
'-Vjhl=$(p_jhl)' \
@@ -109,8 +109,8 @@ ifneq (,$(p_jre))
'-Vjhl:provides=$(jhl_provides)' \
'-Vjdk:provides=$(jdk_provides)' \
- dh_md5sums -s
- dh_builddeb -s
+ dh_md5sums -a
+ dh_builddeb -a
endif
# Build architecture-independent files here.