[jasmin-sable] 61/78: Move to minimal debhelper 7 rules file.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Feb 10 23:34:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository jasmin-sable.
commit 8400b8acf176e99acc4f7b0beb6eed7872928585
Author: Chris Lamb <lamby at debian.org>
Date: Sun Aug 1 17:01:36 2010 -0400
Move to minimal debhelper 7 rules file.
---
debian/changelog | 1 +
debian/control | 2 +-
debian/rules | 41 ++++++++---------------------------------
3 files changed, 10 insertions(+), 34 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 19a067f..aee58f4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ jasmin-sable (2.4.0-1) UNRELEASED; urgency=low
* Move to '3.0 (quilt)' format.
* Specify examples and manpages in debina/jasmin-sable.{manpages,examples}
instead of as arguments in debian/rules.
+ * Move to minimal debhelper 7 rules file.
-- Chris Lamb <lamby at debian.org> Sun, 01 Aug 2010 16:51:45 -0400
diff --git a/debian/control b/debian/control
index 97a421a..392463c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: jasmin-sable
Section: devel
Priority: optional
Maintainer: Chris Lamb <lamby at debian.org>
-Build-Depends: debhelper (>= 7), quilt, ant
+Build-Depends: debhelper (>= 7.0.50~), quilt, ant
Build-Depends-Indep: cup (>= 0.11a+20060608), openjdk-6-jdk
Standards-Version: 3.9.1
Homepage: http://jasmin.sourceforge.net/
diff --git a/debian/rules b/debian/rules
index 8d3a712..5f82c2d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,44 +6,19 @@ else
export ANT_OPTS=-Dcompile.debug=true -Dcompile.optimize=true
endif
-build: build-stamp
-build-stamp:
+%:
+ dh $@
+
+override_dh_auto_build:
ant build_parser jasmin-jar
- touch $@
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
+override_dh_auto_clean:
ant clean
rm -rf lib/*.jar
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean
- dh_installdirs
+ dh_auto_clean
+override_dh_auto_install:
cp -v lib/jasminclasses-*.jar debian/jasmin-sable/usr/share/java
cd debian/jasmin-sable/usr/share/java/; ln -v -s *.jar jasmin-sable.jar
cp -v bin/jasmin debian/jasmin-sable/usr/bin
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
- dh_installman
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-arch:
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+ dh_auto_install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jasmin-sable.git
More information about the pkg-java-commits
mailing list