[cup] 33/36: Use install files and do not override dh_install anymore.

Markus Koschany apo-guest at moszumanska.debian.org
Wed Dec 30 03:36:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository cup.

commit 04bc19148ecb40830568447da1da004b3bab8524
Author: Markus Koschany <apo at debian.org>
Date:   Wed Dec 30 03:39:14 2015 +0100

    Use install files and do not override dh_install anymore.
    
    Move cup.sh to debian/bin/cup
---
 debian/{cup.sh => bin/cup} | 0
 debian/cup.install         | 2 ++
 debian/rules               | 8 +-------
 3 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/debian/cup.sh b/debian/bin/cup
old mode 100644
new mode 100755
similarity index 100%
rename from debian/cup.sh
rename to debian/bin/cup
diff --git a/debian/cup.install b/debian/cup.install
new file mode 100644
index 0000000..dff25ef
--- /dev/null
+++ b/debian/cup.install
@@ -0,0 +1,2 @@
+dist/java-cup-11a.jar usr/share/java
+debian/bin/cup        usr/bin
diff --git a/debian/rules b/debian/rules
index 5904104..60e4a8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,13 +3,7 @@ export JAVA_HOME=/usr/lib/jvm/default-java
 export CLASSPATH=/usr/share/java/cup.jar:/usr/share/java/jflex.jar
 
 %:
-	dh $@ --parallel --buildsystem=ant
-
-override_dh_install:
-	dh_install dist/java-cup-11a.jar \
-		debian/cup/usr/share/java/cup-0.11a.jar
-	install -D debian/cup.sh debian/cup/usr/bin/cup
-	mh_install -pcup
+	dh $@ --parallel --with maven-repo-helper --buildsystem=ant
 
 override_dh_clean:
 	dh_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/cup.git



More information about the pkg-java-commits mailing list