[Pkg-octave-commit] rev 646 - trunk/packages/octave/debian

Thomas Weber thomas-guest at costa.debian.org
Tue Jul 18 17:04:30 UTC 2006


Author: thomas-guest
Date: 2006-07-18 17:04:30 +0000 (Tue, 18 Jul 2006)
New Revision: 646

Modified:
   trunk/packages/octave/debian/changelog
   trunk/packages/octave/debian/rules
Log:
Prepare for octave2.X-forge; the mex scripts uses mkoctfile, so we need some
sort of versioning for it


Modified: trunk/packages/octave/debian/changelog
===================================================================
--- trunk/packages/octave/debian/changelog	2006-07-13 16:50:37 UTC (rev 645)
+++ trunk/packages/octave/debian/changelog	2006-07-18 17:04:30 UTC (rev 646)
@@ -1,3 +1,14 @@
+octave2.1 (1:2.1.73-9) unstable; urgency=low
+
+  NOT YET RELEASED!
+
+  [ Thomas Weber ]
+  * Introduce mkoctfile<major> symlink: 
+    /usr/bin/mkoctfile<major> -> /usr/bin/mkoctfile-<version>, 
+    needed for octave2.X-forge mex binary
+
+ -- 
+
 octave2.9 (2.9.6-3) unstable; urgency=low
 
   * debian/in/PACKAGE.conf: Added code for removing all the directories

Modified: trunk/packages/octave/debian/rules
===================================================================
--- trunk/packages/octave/debian/rules	2006-07-13 16:50:37 UTC (rev 645)
+++ trunk/packages/octave/debian/rules	2006-07-18 17:04:30 UTC (rev 646)
@@ -311,10 +311,16 @@
 	dh_installchangelogs -a ChangeLog ChangeLog.1
 	for i in glob libcruft liboctave src scripts test doc; do \
 		cp -vax $$i/ChangeLog $(debdoc)/changelog.$$i; done
+	# make octaveX.Y a symlink to octave-x.y.z and link the manpage to octaveX.Y
 	dh_link --package=$(PACKAGE) \
 		usr/bin/octave-$(version) usr/bin/$(PACKAGE)
 	dh_link --package=$(PACKAGE) \
-		/usr/share/man/man1/octave-$(version).1.gz /usr/share/man/man1/octave$(major).1.gz
+		usr/share/man/man1/octave-$(version).1.gz usr/share/man/man1/octave$(major).1.gz
+	# make mkoctfileX.Y a symlink and symlink the manpage as well
+	dh_link --package=$(dev_package) \
+		usr/bin/mkoctfile-$(version) usr/bin/mkoctfile$(major)
+	dh_link --package=$(dev_package) \
+		usr/share/man/man1/mkoctfile-$(version).1.gz usr/share/man/man1/mkoctfile$(major).1.gz
 	dh_strip -a
 	dh_compress -a
 	dh_fixperms -a




More information about the Pkg-octave-commit mailing list