bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ice-9 scrdir!=builddir


From: Golubev I. N.
Subject: ice-9 scrdir!=builddir
Date: Thu, 04 Oct 2001 16:25:07 (GMT)

cvs branch: branch_release-1-6

To get 'and-let*.scm' installed correctly when source directory is not
the same as build one, I copied commands from `Makefile.in' in
`Makefile.am'.

--- ice-9/Makefile.am   2001/09/18 19:28:16     1.46.2.2
+++ ice-9/Makefile.am   2001/09/26 14:41:21
@@ -39,8 +39,11 @@
 ETAGS_ARGS = $(subpkgdata_DATA)
 
 install-data-local:
-       -$(INSTALL_DATA) and-let-star-compat.scm \
-           $(subpkgdatadir)/'and-let*.scm'
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(subpkgdatadir)
+       if test -f and-let-star-compat.scm; then d=; else d="$(srcdir)/"; fi; \
+       echo " $(INSTALL_DATA) $${d}and-let-star-compat.scm 
$(DESTDIR)$(subpkgdatadir)/'and-let*.scm'"; \
+       $(INSTALL_DATA) $${d}and-let-star-compat.scm 
$(DESTDIR)$(subpkgdatadir)/'and-let*.scm'
 
 ## test.scm is not currently installed.
 EXTRA_DIST = $(ice9_sources) test.scm and-let-star-compat.scm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]