summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/apps
diff options
context:
space:
mode:
Diffstat (limited to 'gr-howto-write-a-block/apps')
-rw-r--r--gr-howto-write-a-block/apps/.gitignore2
-rw-r--r--gr-howto-write-a-block/apps/CMakeLists.txt (renamed from gr-howto-write-a-block/apps/Makefile.am)20
2 files changed, 7 insertions, 15 deletions
diff --git a/gr-howto-write-a-block/apps/.gitignore b/gr-howto-write-a-block/apps/.gitignore
deleted file mode 100644
index b336cc7ce..000000000
--- a/gr-howto-write-a-block/apps/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/Makefile
-/Makefile.in
diff --git a/gr-howto-write-a-block/apps/Makefile.am b/gr-howto-write-a-block/apps/CMakeLists.txt
index 85ed222cf..a736fb2d0 100644
--- a/gr-howto-write-a-block/apps/Makefile.am
+++ b/gr-howto-write-a-block/apps/CMakeLists.txt
@@ -1,5 +1,4 @@
-#
-# Copyright 2009 Free Software Foundation, Inc.
+# Copyright 2011 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -17,16 +16,11 @@
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
-
-include $(top_srcdir)/Makefile.common
-
-if PYTHON
-
-dist_bin_SCRIPTS = \
- howto_square.py
-EXTRA_DIST = \
- howto_square.grc
+include(GrPython)
-endif
+GR_PYTHON_INSTALL(
+ PROGRAMS
+ howto_square.py
+ DESTINATION bin
+)