r35838 - /packages/scilab-toolboxes/overload/trunk/trunk/debian/rules

sylvestre-guest at users.alioth.debian.org sylvestre-guest at users.alioth.debian.org
Sat Sep 12 11:55:14 UTC 2009


Author: sylvestre-guest
Date: Sat Sep 12 11:55:14 2009
New Revision: 35838

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35838
Log:
cleaner debian/rules

Modified:
    packages/scilab-toolboxes/overload/trunk/trunk/debian/rules

Modified: packages/scilab-toolboxes/overload/trunk/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab-toolboxes/overload/trunk/trunk/debian/rules?rev=35838&op=diff
==============================================================================
--- packages/scilab-toolboxes/overload/trunk/trunk/debian/rules (original)
+++ packages/scilab-toolboxes/overload/trunk/trunk/debian/rules Sat Sep 12 11:55:14 2009
@@ -16,22 +16,18 @@
 		dh_testroot
 		rm -rf build check jar src/liboverload.so help/*/.last_successful_build_javaHelp
 		rm -fr build-stamp help/*/scilab_*_help/ help/*/.list_*
-		rm -f install-arch-stamp install-indep-stamp configure-stamp
+		rm -f install-stamp
 
-		[ ! -f Makefile ] || $(MAKE) distclean
 		# some additional cleanups
 		dh_clean 
 
+install: build install-stamp
 
-install: build
-
-install-indep: configure build install-indep-stamp
-install-indep-stamp:
+install-stamp:
 		dh_testdir
 		dh_testroot
-		dh_clean -k -i 
-		dh_installdirs -i
-		mkdir -p $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/
+		mkdir -p $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/lib/
+		cp -p src/liboverload.so $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/lib/
 		cp -Rp jar/ $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/
 		cp -Rp etc/ $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/
 		cp -Rp loader.sce $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/
@@ -41,35 +37,9 @@
 		rm -f scilab-overload; \
 		ln -s ../../../lib/scilab-overload/
 
-install-arch: configure build  install-arch-stamp
-install-arch-stamp:
-		dh_testdir
-		dh_testroot
-		mkdir -p $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/lib/
-		cp -p src/liboverload.so $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/lib/
+binary:  binary-stamp
 
-binary:  binary-indep binary-arch
-
-binary-indep: build install
-#		dh_testdir -i
-#		dh_testroot -i
-#		dh_installchangelogs  -i
-#		dh_installdocs --all 
-#		dh_installexamples -patlas-doc examples/*
-#		dh_installman -i
-#		dh_link -i
-#		dh_strip -i
-#		dh_compress  -i
-#		dh_fixperms -i
-#		dh_makeshlibs -i
-#		dh_installdeb -i
-#		dh_shlibdeps -i -l $$(pwd)
-#		dh_shlibdeps -i
-#		dh_gencontrol -i
-#		dh_md5sums -i
-#		dh_builddeb -i
-
-binary-arch: build install
+binary-stamp: build install
 		dh_testdir -a
 		dh_testroot -a
 		dh_installchangelogs  -a
@@ -77,20 +47,17 @@
 		dh_installexamples -a
 		dh_installman -a
 		dh_link -a
-#		dh_strip -a --dbg-package=libatlas-dbg
+		dh_strip -a
 		dh_compress  -a
 		dh_fixperms -a
-#		dh_makeshlibs -plibatlas1 
-#		dh_makeshlibs -n -plibatlas-dev
+		dh_makeshlibs -a --noscripts
 		dh_installdeb -a
-#		dh_shlibdeps -a -l$(CURDIR)/debian/atlas/usr/lib/atlas/lib -Llibatlas1
-		dh_shlibdeps -a -l $$(pwd)
+		dh_shlibdeps -a
+		dh_gencontrol -a
+		dh_md5sums -a
+		dh_builddeb -a
 
-#		dh_gencontrol -a
-#		dh_md5sums -a
-#		dh_builddeb -a
-
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-stamp binary install build-stamp
 
 
 get-orig-source:




More information about the debian-science-commits mailing list