diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-03-08 01:53:32 +0100 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-03-08 01:53:32 +0100 |
commit | 2b254757ac61dd98b6d5f13a0fc36e89a05d8458 (patch) | |
tree | df3d8414ac5add37a48b55942ce34916323a698a /debian/rules | |
parent | 9befa2e24f2299e8f3a31a3682be8cf4950c9ed3 (diff) |
Debian: Generate symlinks for libobjcl.
darcs-hash:8583b64168e3c5336e8de169cba67188896c599f
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 7 insertions, 1 deletions
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/ |