summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2003-06-25 09:33:00 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2003-06-25 09:33:00 +0000
commit7fcf9e3f5201fdfe20561ff87294af5ac2d4abb4 (patch)
tree466c62fc65ae0c3bc2cfb15f8dd8788822ae7423 /Makefile.in
parent4eca80e43a06afee7fb1e9461afb3eaef6f9975b (diff)
downloadswig-7fcf9e3f5201fdfe20561ff87294af5ac2d4abb4.tar.gz
swig.m4 moved to Tools/config
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in
index febd28122..9c2e30003 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -274,6 +274,8 @@ INSTALL = @abs_srcdir@/Tools/config/install-sh -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} -m 755
MKINSTDIRS = @abs_srcdir@/Tools/config/mkinstalldirs
+M4_SOURCE_DIR = @abs_srcdir@/Tools/config
+M4_INSTALL_DIR = @datadir@/aclocal
install: install-main install-lib install-runtime install-m4
@echo "Installation complete"
@@ -321,13 +323,11 @@ install-runtime:
@cd $(RUNTIME); $(MAKE) install
-M4_DIR = @datadir@/aclocal
-
install-m4:
@echo "Installing M4 macros"
- @$(MKINSTDIRS) $(M4_DIR)
- @echo "Installing $(M4_DIR)/swig.m4"
- @$(INSTALL_DATA) swig.m4 $(M4_DIR)/swig.m4
+ @$(MKINSTDIRS) $(M4_INSTALL_DIR)
+ @echo "Installing $(M4_INSTALL_DIR)/swig.m4"
+ @$(INSTALL_DATA) $(M4_SOURCE_DIR)/swig.m4 $(M4_INSTALL_DIR)/swig.m4
#####################################################################
@@ -349,8 +349,8 @@ uninstall-runtime:
@cd $(RUNTIME); $(MAKE) uninstall
uninstall-m4:
- @echo "Uninstalling $(M4_DIR)/swig.m4"
- rm -f $(M4_DIR)/swig.m4;
+ @echo "Uninstalling $(M4_INSTALL_DIR)/swig.m4"
+ rm -f $(M4_INSTALL_DIR)/swig.m4;
############################################################################
# DIST and other maintenance