[SCM] librobert-hooke-clojure packaging branch, master, updated. debian/1.1.2-1-14-gf5249bb

Wolodja Wentland debian at babilen5.org
Mon Apr 22 15:51:43 UTC 2013


The following commit has been merged in the master branch:
commit 3672dd69ed30d056aee6dd6e43603e8b5496fa49
Author: Wolodja Wentland <debian at babilen5.org>
Date:   Mon Jan 28 11:46:35 2013 +0000

    Switch to declarative packaging style

diff --git a/debian/changelog b/debian/changelog
index 434dd23..7898a4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,11 @@ robert-hooke (1.3.0-1) UNRELEASED; urgency=low
     - Update Standards-Version to 3.9.4
   * Remove 0001-Add-upstream-changelog.patch
   * Refactor markdown documentation generation
+  * debian/rules
+    - Switch to declarative packaging style
+    - override_jh_classpath → debian/pkg.classpath
+    - override_jh_installlibs → debian/pkg.jlibs
+    - override_dh_installdocs → debian/pkg.docs
  -- Wolodja Wentland <debian at babilen5.org>  Sun, 27 Jan 2013 13:23:51 +0000
 
 robert-hooke (1.1.2-1) unstable; urgency=low
diff --git a/debian/librobert-hooke-clojure.classpath b/debian/librobert-hooke-clojure.classpath
new file mode 100644
index 0000000..45b0bec
--- /dev/null
+++ b/debian/librobert-hooke-clojure.classpath
@@ -0,0 +1 @@
+usr/share/java/robert-hooke.jar /usr/share/java/clojure-1.4.jar
diff --git a/debian/librobert-hooke-clojure.docs b/debian/librobert-hooke-clojure.docs
new file mode 100644
index 0000000..0d4e26e
--- /dev/null
+++ b/debian/librobert-hooke-clojure.docs
@@ -0,0 +1,2 @@
+*.md
+doc/*
diff --git a/debian/librobert-hooke-clojure.jlibs b/debian/librobert-hooke-clojure.jlibs
new file mode 100644
index 0000000..9a78198
--- /dev/null
+++ b/debian/librobert-hooke-clojure.jlibs
@@ -0,0 +1 @@
+robert-hooke.jar
diff --git a/debian/rules b/debian/rules
index 4521e6f..ee2e6b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,6 @@ DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
 DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
 MDWN_DOCS = $(patsubst %.md,%.html,$(wildcard $(CURDIR)/*.md))
 
-export CLASSPATH=/usr/share/java/clojure-1.4.jar
 PRODUCED_JAR=robert-hooke.jar
 
 %:
@@ -17,20 +16,11 @@ override_jh_build: $(MDWN_DOCS)
 	jar cf $(PRODUCED_JAR) -C src .
 	mkdir -p $(CURDIR)/doc/html && mv $(CURDIR)/*.html $(CURDIR)/doc/html
 
-override_jh_classpath:
-	jh_classpath $(PRODUCED_JAR)
-
-override_jh_installlibs:
-	jh_installlibs $(PRODUCED_JAR)
-
 override_jh_clean:
 	jh_clean
 	rm -f $(CURDIR)/$(PRODUCED_JAR)
 	rm -rf $(CURDIR)/doc
 
-override_dh_installdocs:
-	dh_installdocs *.md doc/*
-
 get-orig-source:
 	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
 

-- 
librobert-hooke-clojure packaging



More information about the pkg-java-commits mailing list