[med-svn] r6091 - trunk/packages/gbrowse/trunk/debian

Andreas Tille tille at alioth.debian.org
Thu Feb 24 16:22:51 UTC 2011


Author: tille
Date: 2011-02-24 16:22:44 +0000 (Thu, 24 Feb 2011)
New Revision: 6091

Modified:
   trunk/packages/gbrowse/trunk/debian/rules
Log:
Lets focus on the important stuff with a simpler debian/rules file ...


Modified: trunk/packages/gbrowse/trunk/debian/rules
===================================================================
--- trunk/packages/gbrowse/trunk/debian/rules	2011-02-24 14:25:20 UTC (rev 6090)
+++ trunk/packages/gbrowse/trunk/debian/rules	2011-02-24 16:22:44 UTC (rev 6091)
@@ -1,27 +1,14 @@
 #!/usr/bin/make -f
 
-#%: 
-#	dh $@
+%: 
+	dh $@
 
 
-build: configure build-stamp
-build-stamp:
-	dh_testdir
+#override_dh_auto_build:
 	#perl Build.PL --install_path lib=/usr/lib/perl5  --conf=/etc/gbrowse2 --htdocs=/usr/share/gbrowse2/htdocs --tmp=/var/cache/gbrowse2 --databases=/usr/share/gbrowse2/databases --cgibin=/usr/lib/cgi-bin/gbrowse2 --www-user=www-data  --installetc=y
-	dh_auto_build
-	dh_auto_test
-	touch $@
+	#dh_auto_build
 
-
-clean:
-	dh $@
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	#dh_auto_install
+override_dh_auto_install:
 	perl Build.PL --conf=/etc/gbrowse2 --htdocs=/usr/share/gbrowse2/htdocs --tmp=/var/cache/gbrowse2 --databases=/usr/share/gbrowse2/databases --cgibin=/usr/lib/cgi-bin/gbrowse2 --www-user=www-data  
 	./Build  --install_base=debian/gbrowse debianinstall
 	./Build   apache_conf > debian/gbrowse/etc/gbrowse2/apache2.conf
@@ -31,48 +18,3 @@
 	mv debian/gbrowse/lib/perl5/*/* debian/gbrowse/usr/lib/perl5/
 	rm -rf debian/gbrowse/lib
 	mv debian/gbrowse/man debian/gbrowse/usr/share/
-	dh_install
-	dh_installdocs
-	dh_installchangelogs
-	dh_installexamples
-	dh_installman
-	dh_installcatalogs
-	dh_installcron
-	dh_installdebconf
-	dh_installemacsen
-	dh_installifupdown
-	dh_installinfo
-	#dh_pysupport
-	dh_installinit
-	dh_installmenu
-	dh_installmime
-	dh_installmodules
-	dh_installlogcheck
-	dh_installlogrotate
-	dh_installpam
-	dh_installppp
-	dh_installudev
-	dh_installwm
-	dh_installxfonts
-	dh_bugfiles
-	dh_lintian
-	dh_gconf
-	dh_icons
-	dh_perl
-	dh_usrlocal
-	dh_link
-	dh_compress
-	dh_fixperms
-	touch $@
-
-binary-arch: install
-	dh $@
-
-binary-indep:
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build configure
-
-
-




More information about the debian-med-commit mailing list