From c41cb174eec14266988609e20477eafcb3a5dac2 Mon Sep 17 00:00:00 2001
From: Rob Savoye <rob@welcomehome.org>
Date: Thu, 21 Oct 2010 11:29:52 -0600
Subject: specify . for outdir, as the suffix rules put the generated filoes in
 the right place.

---
 Makefile.swig | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

(limited to 'Makefile.swig')

diff --git a/Makefile.swig b/Makefile.swig
index 67bfe3eaad..2608a57be1 100644
--- a/Makefile.swig
+++ b/Makefile.swig
@@ -38,9 +38,7 @@ SWIG_PYTHON_FLAGS =	\
 	-modern		\
 	-keyword	\
 	-w511		\
-	-outdir python
-
-## standard swig flags used by most components
+	-outdir .
 
 STD_SWIG_PYTHON_ARGS =				\
 	$(SWIG_PYTHON_FLAGS)			\
@@ -53,7 +51,7 @@ SWIG_GUILE_FLAGS =	\
 	-guile		\
 	-scm		\
 	-scmstub	\
-	-outdir guile
+	-outdir .
 
 ## standard swig flags used by most components
 
@@ -81,9 +79,6 @@ STD_SWIG_LA_LIB_ADD = -lstdc++
 
 STD_SWIG_CXX_FLAGS = @swig_CXXFLAGS@
 
-## SWIG suffix for automake to know about
-SUFFIXES = .i .cc .scm .py
-
 ## Create $(srcdir)/Makefile.swig.gen, containing all of the rules
 ## for running SWIG to generate or re-generate outputs.  SWIG file
 ## names are to be defined in TOP_SWIG_IFILES, and must include the
-- 
cgit v1.2.3