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

Ólafur Jens Sigurðsson ojs-guest at alioth.debian.org
Sat Dec 15 02:04:44 UTC 2007


Author: ojs-guest
Date: 2007-12-15 02:04:44 +0000 (Sat, 15 Dec 2007)
New Revision: 1089

Added:
   octave-forge-pkgs/octave-combinatorics/trunk/debian/rules
Log:
Forgott the rules file for octave-combinatorics on the first upload

Added: octave-forge-pkgs/octave-combinatorics/trunk/debian/rules
===================================================================
--- octave-forge-pkgs/octave-combinatorics/trunk/debian/rules	                        (rev 0)
+++ octave-forge-pkgs/octave-combinatorics/trunk/debian/rules	2007-12-15 02:04:44 UTC (rev 1089)
@@ -0,0 +1,45 @@
+#!/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


Property changes on: octave-forge-pkgs/octave-combinatorics/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-octave-commit mailing list