From 79983d6fe7687f4b2abc00e66d076b9d8d1a098e Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Sat, 12 Feb 2000 01:19:07 +0000 Subject: [PATCH] Modified makefile to install either 'swig' or 'swig.exe' git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@233 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 52303f804..d5d750f30 100644 --- a/Makefile.in +++ b/Makefile.in @@ -118,7 +118,12 @@ install-main: fi; \ done; @echo "Installing $(BIN_DIR)/swig" - @$(INSTALL_PROGRAM) swig $(BIN_DIR)/swig + @if [ -f swig ]; then \ + $(INSTALL_PROGRAM) swig $(BIN_DIR)/swig; \ + fi + @if [ -f swig.exe ]; then \ + $(INSTALL_PROGRAM) swig.exe $(BIN_DIR)/swig.exe; \ + fi install-lib: @for i in $(SWIG_LIB) ; \