X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=grc%2FMakefile.am;h=2b5dc730b5e3184b9c25c6ad3e1a34f4b0dd0cde;hb=740d8974427d25f1bd4e4e045fc6f0a101cea9eb;hp=104ff186b10d52fc7d6d424762a68b01176b92f0;hpb=0174f42a56c3e95008ffc6a9771f2bb2d155f0f5;p=debian%2Fgnuradio diff --git a/grc/Makefile.am b/grc/Makefile.am index 104ff186..2b5dc730 100644 --- a/grc/Makefile.am +++ b/grc/Makefile.am @@ -1,5 +1,5 @@ # -# Copyright 2008 Free Software Foundation, Inc. +# Copyright 2008, 2009 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -19,11 +19,37 @@ # Boston, MA 02110-1301, USA. # -include $(top_srcdir)/grc/Makefile.inc +include $(top_srcdir)/Makefile.common +if PYTHON SUBDIRS = \ - data \ - examples \ - freedesktop \ - scripts \ - src + base \ + blocks \ + grc_gnuradio \ + gui \ + python \ + scripts + +## append freedesktop to the list of subdirs when xdg utils are present +if XDG_UTILS +SUBDIRS += freedesktop +endif + +ourpythondir = $(pkgpythondir)/grc +ourpython_PYTHON = __init__.py + +etcdir = $(gr_prefsdir) +dist_etc_DATA = grc.conf + +EXTRA_DIST = $(srcdir)/grc.conf.in + +BUILT_SOURCES = grc.conf + +grc.conf: $(srcdir)/grc.conf.in Makefile + sed \ + -e 's|@pythonw[@]|$(PYTHONW)|g' \ + -e 's|@blocksdir[@]|$(grc_blocksdir)|g' \ + -e 's|@docdir[@]|$(gr_docdir)|g' \ + $< > $@ + +endif