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)26
2 files changed, 10 insertions, 18 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..875b6b4ce 100644
--- a/gr-howto-write-a-block/apps/Makefile.am
+++ b/gr-howto-write-a-block/apps/CMakeLists.txt
@@ -1,32 +1,26 @@
+# Copyright 2011 Free Software Foundation, Inc.
#
-# Copyright 2009 Free Software Foundation, Inc.
-#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# 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
+)