diff --git a/Makefile.am b/Makefile.am index e3cd7a82..cf5ccaa7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,17 +13,25 @@ DISTCLEANFILES = ccdv EXTRA_DIST = ccdv.c CREDITS INSTNOTES RELNOTES all-local: - echo "Compilation complete." - echo "Run 'make install' (or 'gmake install' on some systems) to install NeoStats." - echo "If you require support, see the README file." + if test ! -f .message; then \ + echo ""; \ + $(top_srcdir)/autotools/shtool echo -e "%BCompilation complete.%b"; \ + echo ""; \ + echo "Run 'make install' (or 'gmake install' on some systems) to install NeoStats."; \ + echo "If you require support, see the README file."; \ + touch .message;\ + fi; install-exec-hook: $(CCDV) $(dist_binSCRIPT_INSTALL) "neostats" "@prefix@/neostats"; test -z "@prefix@/logs" || $(mkdir_p) "@prefix@/logs"; install-data-hook: - echo "Installation complete." + echo "" + $(top_srcdir)/autotools/shtool echo -e "%BInstallation complete.%b" + echo "" echo "Change directory to '@prefix@' then run './neostats'" echo "If you require support, see the README file." + rm -f .message include $(top_srcdir)/autotools/rules.mk diff --git a/Makefile.in b/Makefile.in index 2ec6bcbc..f80824be 100644 --- a/Makefile.in +++ b/Makefile.in @@ -696,18 +696,26 @@ uninstall-info: uninstall-info-recursive all-local: - echo "Compilation complete." - echo "Run 'make install' (or 'gmake install' on some systems) to install NeoStats." - echo "If you require support, see the README file." + if test ! -f .message; then \ + echo ""; \ + $(top_srcdir)/autotools/shtool echo -e "%BCompilation complete.%b"; \ + echo ""; \ + echo "Run 'make install' (or 'gmake install' on some systems) to install NeoStats."; \ + echo "If you require support, see the README file."; \ + touch .message;\ + fi; install-exec-hook: $(CCDV) $(dist_binSCRIPT_INSTALL) "neostats" "@prefix@/neostats"; test -z "@prefix@/logs" || $(mkdir_p) "@prefix@/logs"; install-data-hook: - echo "Installation complete." + echo "" + $(top_srcdir)/autotools/shtool echo -e "%BInstallation complete.%b" + echo "" echo "Change directory to '@prefix@' then run './neostats'" echo "If you require support, see the README file." + rm -f .message .c.o: @USECCDV@ @echo "Building $@"