summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-11 14:37:59 +0000
committerGuido van Rossum <guido@python.org>1997-09-11 14:37:59 +0000
commit62f282aeed714e7418f688af3d23f3ceb6a0d2c4 (patch)
treebf6dbc48d20365ae749af272e34281a49b0a7181 /Makefile.in
parent0349b2f5f371c046161a7607446a53c3f666ce52 (diff)
downloadcpython-62f282aeed714e7418f688af3d23f3ceb6a0d2c4.tar.gz
Install config.h under $exec_prefix/include rather than $exec_prefix/lib.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 36637b0570..6be4caf6d0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -99,12 +99,14 @@ BINDIR= $(exec_prefix)/bin
LIBDIR= $(exec_prefix)/lib
MANDIR= $(prefix)/man
INCLUDEDIR= $(prefix)/include
+CONFINCLUDEDIR= $(exec_prefix)/include
SCRIPTDIR= $(prefix)/lib
# Detailed destination directories
BINLIBDEST= $(LIBDIR)/python$(VERSION)
LIBDEST= $(SCRIPTDIR)/python$(VERSION)
INCLUDEPY= $(INCLUDEDIR)/python$(VERSION)
+CONFINCLUDEPY= $(CONFINCLUDEDIR)/python$(VERSION)
LIBP= $(LIBDIR)/python$(VERSION)
# Symbols used for using shared libraries
@@ -319,8 +321,9 @@ $(srcdir)/Lib/$(MACHDEP):
cd $(srcdir)/Lib/$(MACHDEP); ./regen
# Install the include files
+INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)
inclinstall:
- @for i in $(INCLUDEDIR) $(INCLUDEPY); \
+ @for i in $(INCLDIRSTOMAKE); \
do \
if test ! -d $$i; then \
echo "Creating directory $$i"; \
@@ -334,6 +337,7 @@ inclinstall:
echo $(INSTALL_DATA) $$i $(INCLUDEPY); \
$(INSTALL_DATA) $$i $(INCLUDEPY); \
done
+ $(INSTALL_DATA) config.h $(CONFINCLUDEPY)/config.h
# Install the library and miscellaneous stuff needed for extending/embedding
# This goes into $(exec_prefix)
@@ -357,7 +361,6 @@ libainstall: all
$(INSTALL_DATA) Modules/Setup $(LIBPL)/Setup
$(INSTALL_DATA) Modules/Setup.local $(LIBPL)/Setup.local
$(INSTALL_PROGRAM) $(srcdir)/Modules/makesetup $(LIBPL)/makesetup
- $(INSTALL_DATA) config.h $(LIBPL)/config.h
# Install the dynamically loadable modules
# This goes into $(exec_prefix)