[Pkg-octave-commit] r1269 - octave-forge-pkgs/octave-combinatorics/trunk/debian

Rafael Laboissiere rafael at alioth.debian.org
Mon Feb 25 16:31:47 UTC 2008


Author: rafael
Date: 2008-02-25 16:31:47 +0000 (Mon, 25 Feb 2008)
New Revision: 1269

Modified:
   octave-forge-pkgs/octave-combinatorics/trunk/debian/rules
Log:
Include debian/rules scrap from octave-pkg-dev package

Modified: octave-forge-pkgs/octave-combinatorics/trunk/debian/rules
===================================================================
--- octave-forge-pkgs/octave-combinatorics/trunk/debian/rules	2008-02-25 16:30:50 UTC (rev 1268)
+++ octave-forge-pkgs/octave-combinatorics/trunk/debian/rules	2008-02-25 16:31:47 UTC (rev 1269)
@@ -1,45 +1,4 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-#
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-#
-# Modified to make a template file for a multi-binary package with separated
-# build-arch and build-indep targets  by Bill Allombert 2001
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
-#export DH_OPTIONS
-
-filename = $(wildcard *.gz)
-package = $(shell awk '/^Package:/ {print tolower($$2)}' debian/control)
-mpath = usr/share/octave/packages
-bpath = usr/lib/octave/packages
-pkgname = $(filename:.tar.gz=)
-
-clean:
-
-build:
-	mkdir -p $(CURDIR)/debian/$(package)/$(mpath)
-	mkdir -p $(CURDIR)/debian/$(package)/$(bpath)
-	octave -H -q --no-site-file --eval \
-	"pkg('prefix',[pwd(),'/debian/$(package)/$(mpath)'], \
-	 [pwd(),'/debian/$(package)/$(bpath)']); \
-	 pkg('local_list',[pwd(),'.']); \
-	 pkg('global_list',[pwd(),'.']); \
-	 pkg install $(filename)"
-	rm $(CURDIR)/debian/$(package)/$(mpath)/$(pkgname)/packinfo/COPYING
-
-binary:
-	dh_strip
-	dh_installdocs
-	dh_installchangelogs
-	dh_gencontrol
-	dh_compress
-	dh_installdeb
-	dh_builddeb
+include /usr/share/octave/debian/octave-pkg-dev.mk




More information about the Pkg-octave-commit mailing list