[med-svn] r6666 - trunk/packages/biomaj-watcher/trunk/debian
olivier sallou
osallou-guest at alioth.debian.org
Wed Apr 27 07:54:07 UTC 2011
Author: osallou-guest
Date: 2011-04-27 07:54:06 +0000 (Wed, 27 Apr 2011)
New Revision: 6666
Added:
trunk/packages/biomaj-watcher/trunk/debian/dirs
trunk/packages/biomaj-watcher/trunk/debian/install
Modified:
trunk/packages/biomaj-watcher/trunk/debian/rules
Log:
simplify rules file
Added: trunk/packages/biomaj-watcher/trunk/debian/dirs
===================================================================
--- trunk/packages/biomaj-watcher/trunk/debian/dirs (rev 0)
+++ trunk/packages/biomaj-watcher/trunk/debian/dirs 2011-04-27 07:54:06 UTC (rev 6666)
@@ -0,0 +1 @@
+usr/share/java/webapps/biomaj-watcher
Added: trunk/packages/biomaj-watcher/trunk/debian/install
===================================================================
--- trunk/packages/biomaj-watcher/trunk/debian/install (rev 0)
+++ trunk/packages/biomaj-watcher/trunk/debian/install 2011-04-27 07:54:06 UTC (rev 6666)
@@ -0,0 +1,5 @@
+usr/share/biomaj-watcher/bin
+usr/share/doc/biomaj-watcher
+usr/share/java
+var/log/biomaj-watcher
+etc/biomaj-watcher
Modified: trunk/packages/biomaj-watcher/trunk/debian/rules
===================================================================
--- trunk/packages/biomaj-watcher/trunk/debian/rules 2011-04-27 07:35:15 UTC (rev 6665)
+++ trunk/packages/biomaj-watcher/trunk/debian/rules 2011-04-27 07:54:06 UTC (rev 6666)
@@ -19,67 +19,20 @@
export ANT_HOME=/usr/share/ant
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
-build: build-stamp
-build-stamp:
- dh_testdir
- touch build-stamp
+%:
+ dh $@
+
+override_dh_auto_build:
ant -f usr/share/biomaj-watcher/src/build.xml war
-clean:
- dh_testdir
- dh_testroot
+override_dh_clean:
ant -f usr/share/biomaj-watcher/src/build.xml clean
- rm -f build-stamp
dh_clean
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
-
-
-# Compile here architecture independant files
-binary-indep: build install biomaj-watcher
- dh_testdir
- dh_testroot
-
-biomaj-watcher:
- dh_installdirs -p$@
- dh_install -p$@
- dh_install -p$@ usr/share/biomaj-watcher/bin
- dh_install -p$@ usr/share/doc/biomaj-watcher
- dh_install -p$@ usr/share/java
- dh_install -p$@ var/log/biomaj-watcher
- dh_install -p$@ etc/biomaj-watcher
- mkdir -p debian/biomaj-watcher/usr/share/java/webapps/biomaj-watcher/
+override_dh_install:
+ dh_install
unzip usr/share/biomaj-watcher/src/BmajWatcher.war -d debian/biomaj-watcher/usr/share/java/webapps/biomaj-watcher/
- # Common stuff
- dh_installdebconf -p$@
- dh_installdocs -p$@
- dh_installexamples -p$@
- dh_installmenu -p$@
- dh_installcron -p$@
- dh_installman -p$@
- dh_installinfo -p$@
- dh_installchangelogs -p$@
- dh_link -p$@
- dh_strip -p$@
- dh_compress -p$@
- dh_fixperms -p$@
- dh_installdeb -p$@
- dh_shlibdeps -p$@
- dh_gencontrol -p$@
- dh_md5sums -p$@
- dh_builddeb -p$@
get-orig-source:
. debian/get-orig-source
-
-binary-arch:
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
-
-
More information about the debian-med-commit
mailing list