X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.am;h=084fb5dc16312c88c7efa134495fbe787b562676;hb=HEAD;hp=d1c7845ed01f2376ecbc6d9ac9d7b0c4775a3954;hpb=503efe1fbe3822979b8aa3c868d3d13fbeb9af7f;p=debian%2Fgnuradio diff --git a/Makefile.am b/Makefile.am index d1c7845e..084fb5dc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,11 +28,26 @@ EXTRA_DIST = \ configure \ configure-cell-cross \ config.h.in \ - run_tests.sh.in - -dist_gr_doc_DATA = \ - README \ - README.hacking + 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