From 3c923af8b983a4498e63c5c6a4fe3d901e2d5ce6 Mon Sep 17 00:00:00 2001 From: Teemu Toivola Date: Fri, 23 Oct 2015 22:37:47 +0300 Subject: [PATCH] show additional information after install and uninstall actions --- Makefile.am | 13 +++++++++++++ Makefile.in | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/Makefile.am b/Makefile.am index 3f32b33..76d1167 100644 --- a/Makefile.am +++ b/Makefile.am @@ -89,10 +89,23 @@ install-data-hook: $(DESTDIR)$(bindir)/vnstat$(EXEEXT) --showconfig >vnstat.conf && \ $(MKDIR_P) $(DESTDIR)$(sysconfdir) && \ mv -f vnstat.conf $(DESTDIR)$(sysconfdir)/vnstat.conf + @echo + @echo "============================================================================" + @echo " Note: No service file has been installed for starting the daemon" + @echo " automatically. Such setup will need to be created manually" + @echo " depending on the used environment. See the included documentation." + @echo "============================================================================" + @echo uninstall-hook: -rm -f $(DESTDIR)$(sysconfdir)/vnstat.conf -rmdir $(DESTDIR)$(sysconfdir) + @echo + @echo "==================================================================" + @echo " Note: The database directory has been left untouched." + @echo " It will need to be removed manually if no longer needed." + @echo "==================================================================" + @echo clean-local: -rm -fr coverage *.lcov *.gz test*.log test*.xml src/*.gc* tests/*.gc* diff --git a/Makefile.in b/Makefile.in index ddae2ca..6d8416d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1607,10 +1607,23 @@ install-data-hook: $(DESTDIR)$(bindir)/vnstat$(EXEEXT) --showconfig >vnstat.conf && \ $(MKDIR_P) $(DESTDIR)$(sysconfdir) && \ mv -f vnstat.conf $(DESTDIR)$(sysconfdir)/vnstat.conf + @echo + @echo "============================================================================" + @echo " Note: No service file has been installed for starting the daemon" + @echo " automatically. Such setup will need to be created manually" + @echo " depending on the used environment. See the included documentation." + @echo "============================================================================" + @echo uninstall-hook: -rm -f $(DESTDIR)$(sysconfdir)/vnstat.conf -rmdir $(DESTDIR)$(sysconfdir) + @echo + @echo "==================================================================" + @echo " Note: The database directory has been left untouched." + @echo " It will need to be removed manually if no longer needed." + @echo "==================================================================" + @echo clean-local: -rm -fr coverage *.lcov *.gz test*.log test*.xml src/*.gc* tests/*.gc* -- 2.40.0