Update of /cvsroot/sbcl/sbcl/contrib
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv9682/contrib
Modified Files:
asdf-module.mk
Log Message:
1.0.15.40: more portable contrib module installation
* Going in despite the freeze: earlier version depended on GNU tar,
and broke install.sh on installations where tar was not GNU.
* Patch by Eugene Ossintsev.
Index: asdf-module.mk
===================================================================
RCS file: /cvsroot/sbcl/sbcl/contrib/asdf-module.mk,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- asdf-module.mk 13 Mar 2008 10:59:59 -0000 1.17
+++ asdf-module.mk 26 Mar 2008 19:32:35 -0000 1.18
@@ -27,6 +27,10 @@
"(asdf:operate (quote asdf:test-op) :$(SYSTEM))" | \
$(SBCL) --eval '(load "../asdf/asdf")'
-
+# KLUDGE / FIXME: Perhaps each module should have it's own list of
+# files to install? At any rate, this is a portable (we hope) way of
+# installing all the files needed -- as long as all the files are in
+# the first level directory...
install: $(EXTRA_INSTALL_TARGETS)
- tar --exclude=CVS -cf - . | ( cd "$(BUILD_ROOT)$(INSTALL_DIR)" && tar --no-same-owner -xpvf - )
+ cp -p $(SYSTEM).asd *.lisp *.fasl "$(BUILD_ROOT)$(INSTALL_DIR)"
+ find "$(BUILD_ROOT)$(INSTALL_DIR)" -type f -exec chown `id -u`:`id -g` {} \;
|