From 2b254757ac61dd98b6d5f13a0fc36e89a05d8458 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sat, 8 Mar 2008 01:53:32 +0100 Subject: Debian: Generate symlinks for libobjcl. darcs-hash:8583b64168e3c5336e8de169cba67188896c599f --- debian/rules | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index ae70bf4..b273738 100755 --- a/debian/rules +++ b/debian/rules @@ -39,11 +39,17 @@ install: build mkdir -p debian/tmp/usr/share/common-lisp/source/objective-cl/Lisp/ mkdir -p debian/tmp/usr/share/common-lisp/systems/ mkdir -p debian/tmp/usr/share/doc/cl-objective-cl/documentation/ - cp Objective-C/obj/libobjcl.so.$(version) debian/tmp/usr/lib/cl-objective-cl/ + + cp -p Objective-C/obj/libobjcl.so.$(version) debian/tmp/usr/lib/cl-objective-cl/ + ln -s libobjcl.so.$(version) debian/tmp/usr/lib/cl-objective-cl/libobjcl.so.$(major) + ln -s libobjcl.so.$(version) debian/tmp/usr/lib/cl-objective-cl/libobjcl.so + cp Lisp/*.lisp debian/tmp/usr/share/common-lisp/source/objective-cl/Lisp/ + cp *.asd debian/tmp/usr/share/common-lisp/source/objective-cl/ ln -s ../source/objective-cl/{objective-cl,objective-cl-tests,objective-cl-libobjcl}.asd debian/tmp/usr/share/common-lisp/systems/ sed 's|@prebuilt-objective-cl-location@|"/usr/lib/cl-objective-cl/"|g;s|@use-prebuilt-objective-cl@|(and)|g' --in-place debian/tmp/usr/share/common-lisp/source/objective-cl/objective-cl.asd + cp -pP Documentation/* debian/tmp/usr/share/doc/cl-objective-cl/documentation/ -- cgit v1.2.3