[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gsrc-commit] /srv/bzr/gsrc/trunk r1468: create method for installing SL
From: |
Brandon Invergo |
Subject: |
[Gsrc-commit] /srv/bzr/gsrc/trunk r1468: create method for installing SLIB for Guile |
Date: |
Sun, 16 Dec 2012 22:27:39 +0100 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 1468
committer: Brandon Invergo <address@hidden>
branch nick: trunk
timestamp: Sun 2012-12-16 22:27:39 +0100
message:
create method for installing SLIB for Guile
modified:
gnu/slib/Makefile
gnu/slib/config.mk
=== modified file 'gnu/slib/Makefile'
--- a/gnu/slib/Makefile 2012-11-20 22:53:10 +0000
+++ b/gnu/slib/Makefile 2012-12-16 21:27:39 +0000
@@ -16,6 +16,15 @@
######################################################################
+include config.mk
+INSTALL_SCRIPTS = $(INSTALL_TARGETS)
include ../../gar.lib/auto.mk
-include config.mk
-
+
+install-guile:
+ @echo -e "[$(OK)install$(OFF)] $(MSG)Installing SLIB for Guile$(OFF)"
+ @$(MAKE) -C $(WORKSRC) install-lib DESTDIR=$(packageDESTDIR) \
+ libdir=$(prefix)/share/guile/ $(OUTPUT)
+ $(MAKECOOKIE)
+
+install-system: install-$(WORKSRC)/Makefile-DESTDIR
+ $(MAKECOOKIE)
=== modified file 'gnu/slib/config.mk'
--- a/gnu/slib/config.mk 2012-11-20 22:53:10 +0000
+++ b/gnu/slib/config.mk 2012-12-16 21:27:39 +0000
@@ -1,4 +1,10 @@
## Configuration options for slib ##
+# Choose the targets you want to install SLIB for. `system' installs SLIB to
+# $(prefix)/lib/slib for general use with Scheme interpreters; `guile' installs
+# it to $(prefix)/share/guile/slib for use with Guile
+
+INSTALL_TARGETS = system guile
+
CONFIGURE_OPTS ?=
BUILD_OPTS ?=
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gsrc-commit] /srv/bzr/gsrc/trunk r1468: create method for installing SLIB for Guile,
Brandon Invergo <=