X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.am;h=084fb5dc16312c88c7efa134495fbe787b562676;hb=89ceb6c846e5b859d8fdef4fef84093f18efd3da;hp=1711f707dc4fcd36496889f0d109d578f3772e85;hpb=c3f962a1f0a4132ad643c58774bb69b190dccc49;p=debian%2Fgnuradio diff --git a/Makefile.am b/Makefile.am index 1711f707..084fb5dc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,7 +32,22 @@ EXTRA_DIST = \ Makefile.swig \ Makefile.swig.gen.t \ Makefile.par.gen \ - Makefile.gen.gen + Makefile.gen.gen \ + version.sh SUBDIRS = @build_dirs@ DIST_SUBDIRS = @build_dirs@ @skipped_dirs@ @with_dirs@ +DISTCLEANFILES = gnuradio*.tar.gz + +if PYTHON + +export pythondir + +install-data-hook: + @if ! python -c "import gnuradio" > /dev/null 2>&1; then\ + printf "\n*** Post-Install Message ***\ + \nWarning: python could not find the gnuradio module.\ + \nMake sure that $${pythondir} is in your PYTHONPATH\n\n";\ + fi + +endif