X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.am;h=084fb5dc16312c88c7efa134495fbe787b562676;hb=e93a81a1f346f1fdef218b115c99f547ccd7ad27;hp=e9dde45f1b327b6abdf1d8a12e6c37454361342e;hpb=4c400067338be2d8c2d76b0773dd4087d61b159b;p=debian%2Fgnuradio diff --git a/Makefile.am b/Makefile.am index e9dde45f..084fb5dc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,7 +28,26 @@ EXTRA_DIST = \ configure \ configure-cell-cross \ config.h.in \ - run_tests.sh.in + run_tests.sh.in \ + Makefile.swig \ + Makefile.swig.gen.t \ + Makefile.par.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