From 42499cefdc476ae77e97dd2b48f17b1a02b06c02 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 15 Nov 2011 16:47:37 +0400 Subject: install libs (*.o for GCL or *.fasl for SBCL in debian/rules); no more brace-expansion-in-debhelper-config-file --- debian/open-axiom.install | 15 +++++++-------- debian/rules | 7 ++++++- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/debian/open-axiom.install b/debian/open-axiom.install index a4ee7cf..c8c7a8b 100644 --- a/debian/open-axiom.install +++ b/debian/open-axiom.install @@ -1,10 +1,13 @@ usr/bin/open-axiom usr/lib/open-axiom/lib/ex2ht -# *.o for GCL -# *.fasl for SBCL -# it's a kind of hack -usr/lib/open-axiom/algebra/*.{o,fasl} +# We make choice in debian/rules: +# +# SBCL: usr/lib/open-axiom/algebra/*.fasl +# GCL: usr/lib/open-axiom/algebra/*.o + +# SBCL: usr/lib/open-axiom/lib/libopen-axiom-core.so +# GCL: NOTHING usr/lib/open-axiom/lib/session usr/lib/open-axiom/lib/spadbuf @@ -24,9 +27,5 @@ usr/lib/open-axiom/bin/clef usr/lib/open-axiom/bin/asq usr/lib/open-axiom/bin/AXIOMsys -# GCL does not use shared libs -# for SBCL we put this lib in debian/rules -#usr/lib/open-axiom/lib/libopen-axiom-core.so - debian/open-axiom.xpm /usr/share/pixmaps/ debian/open-axiom.desktop /usr/share/applications/ diff --git a/debian/rules b/debian/rules index d7cfc65..5332fb9 100755 --- a/debian/rules +++ b/debian/rules @@ -67,7 +67,12 @@ override_dh_auto_clean: override_dh_install: ifeq ($(LISP), sbcl) - dh_install -p open-axiom usr/lib/open-axiom/lib/libopen-axiom-core.so + dh_install -p open-axiom \ + usr/lib/open-axiom/lib/libopen-axiom-core.so \ + usr/lib/open-axiom/algebra/*.fasl +else + dh_install -p open-axiom \ + usr/lib/open-axiom/algebra/*.o endif dh_install --list-missing -- cgit v1.2.3