X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.am;h=ec71be725bff59bd746c9f6d8e4b5b667ce6fca7;hb=cc5657e25f8e8f364cb6553e9eb8289cc0aca027;hp=e8328c263963e6e5b043138246b751af6484cb9e;hpb=b67e3270f7acf419cc0b1e455c5367957ddc4612;p=debian%2Fgnuradio diff --git a/Makefile.am b/Makefile.am index e8328c26..ec71be72 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,3 +37,16 @@ EXTRA_DIST = \ SUBDIRS = @build_dirs@ DIST_SUBDIRS = @build_dirs@ @skipped_dirs@ @with_dirs@ + +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