[Pkg-octave-commit] [SCM] octave-xraylib branch, master, updated. 1bf1b93cb6c06427807d88484f6cc100f6027aee
Rafael Laboissiere
rafael at debian.org
Thu May 21 21:35:20 UTC 2009
The following commit has been merged in the master branch:
commit 1bf1b93cb6c06427807d88484f6cc100f6027aee
Author: Rafael Laboissiere <rafael at debian.org>
Date: Thu May 21 23:34:57 2009 +0200
Add links for all functions contained in xraylib.oct
diff --git a/debian/rules b/debian/rules
index 833b313..c43bfe9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,16 @@
include /usr/share/cdbs/1/class/octave-pkg.mk
+debdir = $(CURDIR)/debian/octave-xraylib
+debusr = $(debdir)/usr
+deblib = $(debusr)/lib/octave/packages/*/xraylib-*/*
+debshr = $(debdir)/usr/share/octave/packages/*/xraylib-*/packinfo
+
+install/octave-xraylib::
+ cd $(deblib) ; \
+ for i in $$(grep "^ " $(debshr)/INDEX) ; do \
+ ln -s xraylib.oct $$i.oct ; \
+ done
+
clean::
rm -rf src/Makeconf src/config.log src/config.status
--
octave-xraylib
More information about the Pkg-octave-commit
mailing list