Commit 01e140dc authored by Erick Gallesio's avatar Erick Gallesio

Install ScmPkg sources in their own dir

parent a2fdba4d
......@@ -2,7 +2,7 @@
#
# Author: Erick Gallesio [eg@unice.fr]
# Creation date: 20-Dec-2006 10:09 (eg)
# Last file update: 28-Feb-2007 21:51 (eg)
# Last file update: 28-Feb-2007 22:58 (eg)
SRCS = scmpkg-define.stk \
scmpkg-exception.stk \
......@@ -16,8 +16,11 @@ OBJ = scmpkg-support.ostk
scheme_scmpkgdir = $(prefix)/share/@PACKAGE@/@VERSION@
scheme_scmpkg_DATA = scmpkg-support.stk $(SRCS) $(OBJ)
scheme_libdir = $(prefix)/share/@PACKAGE@/@VERSION@
scheme_lib_DATA = scmpkg-support.stk $(OBJ)
scheme_scmpkgdir = $(scheme_libdir)/ScmPkg.d
scheme_scmpkg_DATA = $(SRCS)
#======================================================================
SUFFIXES = .stk .ostk .scm
......
......@@ -18,7 +18,7 @@
#
# Author: Erick Gallesio [eg@unice.fr]
# Creation date: 20-Dec-2006 10:09 (eg)
# Last file update: 28-Feb-2007 21:51 (eg)
# Last file update: 28-Feb-2007 22:58 (eg)
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
......@@ -53,9 +53,11 @@ am__vpath_adj = case $$p in \
*) f=$$p;; \
esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
am__installdirs = "$(DESTDIR)$(scheme_scmpkgdir)"
am__installdirs = "$(DESTDIR)$(scheme_libdir)" \
"$(DESTDIR)$(scheme_scmpkgdir)"
scheme_libDATA_INSTALL = $(INSTALL_DATA)
scheme_scmpkgDATA_INSTALL = $(INSTALL_DATA)
DATA = $(scheme_scmpkg_DATA)
DATA = $(scheme_lib_DATA) $(scheme_scmpkg_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
......@@ -192,8 +194,10 @@ SRCS = scmpkg-define.stk \
scmpkg-runtime.stk
OBJ = scmpkg-support.ostk
scheme_scmpkgdir = $(prefix)/share/@PACKAGE@/@VERSION@
scheme_scmpkg_DATA = scmpkg-support.stk $(SRCS) $(OBJ)
scheme_libdir = $(prefix)/share/@PACKAGE@/@VERSION@
scheme_lib_DATA = scmpkg-support.stk $(OBJ)
scheme_scmpkgdir = $(scheme_libdir)/ScmPkg.d
scheme_scmpkg_DATA = $(SRCS)
#======================================================================
SUFFIXES = .stk .ostk .scm
......@@ -230,6 +234,23 @@ $(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
install-scheme_libDATA: $(scheme_lib_DATA)
@$(NORMAL_INSTALL)
test -z "$(scheme_libdir)" || $(MKDIR_P) "$(DESTDIR)$(scheme_libdir)"
@list='$(scheme_lib_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
echo " $(scheme_libDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(scheme_libdir)/$$f'"; \
$(scheme_libDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(scheme_libdir)/$$f"; \
done
uninstall-scheme_libDATA:
@$(NORMAL_UNINSTALL)
@list='$(scheme_lib_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(scheme_libdir)/$$f'"; \
rm -f "$(DESTDIR)$(scheme_libdir)/$$f"; \
done
install-scheme_scmpkgDATA: $(scheme_scmpkg_DATA)
@$(NORMAL_INSTALL)
test -z "$(scheme_scmpkgdir)" || $(MKDIR_P) "$(DESTDIR)$(scheme_scmpkgdir)"
......@@ -284,7 +305,7 @@ check-am: all-am
check: check-am
all-am: Makefile $(DATA)
installdirs:
for dir in "$(DESTDIR)$(scheme_scmpkgdir)"; do \
for dir in "$(DESTDIR)$(scheme_libdir)" "$(DESTDIR)$(scheme_scmpkgdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
......@@ -325,7 +346,7 @@ info: info-am
info-am:
install-data-am: install-scheme_scmpkgDATA
install-data-am: install-scheme_libDATA install-scheme_scmpkgDATA
install-dvi: install-dvi-am
......@@ -359,7 +380,7 @@ ps: ps-am
ps-am:
uninstall-am: uninstall-scheme_scmpkgDATA
uninstall-am: uninstall-scheme_libDATA uninstall-scheme_scmpkgDATA
.MAKE: install-am install-strip
......@@ -369,11 +390,11 @@ uninstall-am: uninstall-scheme_scmpkgDATA
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-scheme_scmpkgDATA install-strip installcheck \
installcheck-am installdirs maintainer-clean \
install-scheme_libDATA install-scheme_scmpkgDATA install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
pdf-am ps ps-am uninstall uninstall-am \
uninstall-scheme_scmpkgDATA
uninstall-scheme_libDATA uninstall-scheme_scmpkgDATA
.stk.ostk:
(cd ..; ../utils/tmpcomp ScmPkg.d/$*.stk ScmPkg.d/$*.ostk)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment