From fe2e6f8054ed8c6a19fe893553a0d05ce855179e Mon Sep 17 00:00:00 2001
From: Tom Rondeau
Date: Sun, 4 Dec 2011 11:10:13 -0500
Subject: docs: better install of swig docs .i files since we actually have a
 variable to take care of it already.

---
 gr-shd/swig/Makefile.am | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'gr-shd')

diff --git a/gr-shd/swig/Makefile.am b/gr-shd/swig/Makefile.am
index 8934acb4c..04acd869e 100644
--- a/gr-shd/swig/Makefile.am
+++ b/gr-shd/swig/Makefile.am
@@ -54,12 +54,12 @@ TOP_SWIG_DOC_IFILES = \
 BUILT_SOURCES += \
 	$(TOP_SWIG_DOC_IFILES)
 
+EXTRA_DIST += \
+	$(TOP_SWIG_DOC_IFILES)
+
 $(TOP_SWIG_DOC_IFILES):
 	`echo "" > $@`
 
-install-data-local:
-	cp -p $(TOP_SWIG_DOC_IFILES) $(swigincludedir)
-
 # Install so that they end up available as:
 #   import gnuradio.shd
 # This ends up at:
@@ -76,7 +76,8 @@ shd_swig_python = \
 	__init__.py
 
 # additional SWIG files to be installed
-shd_swig_swiginclude_headers =
+shd_swig_swiginclude_headers =	\
+	$(TOP_SWIG_DOC_IFILES)
 
 shd_swig_swig_args = $(SHD_CPPFLAGS)
 
-- 
cgit