swig.m4 moved to Tools/config

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-06-25 09:33:00 +00:00
commit 7fcf9e3f52
2 changed files with 7 additions and 7 deletions

View file

@ -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