From 0e53f413890b3d6dc233316f1479c228aa093d18 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 6 May 2007 04:43:06 +0000 Subject: [PATCH] Add "install-include" rule to create the "lib/include" directory for liarc. --- v7/src/microcode/configure.ac | 5 ++++- v7/src/microcode/makegen/Makefile.in.in | 10 +++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/v7/src/microcode/configure.ac b/v7/src/microcode/configure.ac index 9510568f8..30e0197d6 100644 --- a/v7/src/microcode/configure.ac +++ b/v7/src/microcode/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([MIT/GNU Scheme microcode], [15.1], [bug-mit-scheme@gnu.org], [mit-scheme]) -AC_REVISION([$Id: configure.ac,v 1.44 2007/04/30 07:08:49 cph Exp $]) +AC_REVISION([$Id: configure.ac,v 1.45 2007/05/06 04:43:01 cph Exp $]) AC_CONFIG_SRCDIR([boot.c]) AC_CONFIG_HEADERS([config.h]) AC_PROG_MAKE_SET @@ -196,6 +196,7 @@ MODULE_LDFLAGS= LIARC_VARS=/dev/null LIARC_RULES=/dev/null SYSTEM_BASE_NAME=mit-scheme +INSTALL_INCLUDE= dnl Checks for programs. AC_PROG_CC @@ -932,6 +933,7 @@ c) LIARC_VARS=liarc-vars LIARC_RULES=liarc-rules SYSTEM_BASE_NAME=mit-scheme-c + INSTALL_INCLUDE=install-include ;; svm1) AC_MSG_RESULT([yes, using portable SVM code]) @@ -991,6 +993,7 @@ AC_SUBST([MODULE_LDFLAGS]) AC_SUBST_FILE([LIARC_VARS]) AC_SUBST_FILE([LIARC_RULES]) AC_SUBST([SYSTEM_BASE_NAME]) +AC_SUBST([INSTALL_INCLUDE]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT diff --git a/v7/src/microcode/makegen/Makefile.in.in b/v7/src/microcode/makegen/Makefile.in.in index c8a8fb2af..6b2acfaa6 100644 --- a/v7/src/microcode/makegen/Makefile.in.in +++ b/v7/src/microcode/makegen/Makefile.in.in @@ -1,6 +1,6 @@ # -*- Makefile -*- # -# $Id: Makefile.in.in,v 1.52 2007/05/02 13:51:56 cph Exp $ +# $Id: Makefile.in.in,v 1.53 2007/05/06 04:43:06 cph Exp $ # # Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, # 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, @@ -234,7 +234,7 @@ maintainer-clean: c-clean distclean c-clean: clean -rm -f $(C_CLEAN_FILES) -install: install-auxLIBS install-auxDATA +install: install-auxLIBS install-auxDATA @INSTALL_INCLUDE@ $(mkinstalldirs) $(DESTDIR)$(bindir) $(INSTALL_PROGRAM) scheme $(DESTDIR)$(bindir)/$(SYSTEM_BASE_NAME) ../etc/install-bin-symlinks.sh $(DESTDIR)$(bindir) $(SYSTEM_BASE_NAME) @@ -259,9 +259,13 @@ install-auxDATA: $(aux_DATA) fi; \ done +install-include: + $(mkinstalldirs) $(DESTDIR)$(AUXDIR)/include + $(INSTALL_DATA) *.h $(DESTDIR)$(AUXDIR)/include/. + .PHONY: default-target .PHONY: all tags TAGS mostlyclean clean distclean maintainer-clean c-clean -.PHONY: install install-auxLIBS install-auxDATA +.PHONY: install install-auxLIBS install-auxDATA install-include # **** File dependencies **** -- 2.25.1