Skip to content

Commit

Permalink
print summary after 'make fullinstall'
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerg Linge committed Apr 21, 2011
1 parent e8721af commit 2eddb4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Makefile.in
Expand Up @@ -33,6 +33,7 @@ INSTALL_OPTS=@INSTALL_OPTS@
DATAROOTDIR=@datarootdir@

CP=@CP@
PERL=@PERL@

none:
@echo "Please supply a command line argument (i.e. 'make all'). Other targets are:"
Expand All @@ -53,6 +54,9 @@ all:
@echo " make install"
@echo " - This installs the main program and HTML files"
@echo ""
@echo " make fullinstall"
@echo " - This installs the main program, runlevel scripts, config and HTML files"
@echo ""
@echo "Enjoy."
@echo ""

Expand Down Expand Up @@ -172,7 +176,10 @@ install-unstripped:

fullinstall: install install-webconf install-config install-init

$(PERL) summary fullinstall
@echo ""
@echo "*** Main program, Scripts and HTML files installed ***"
@echo ""
@echo "Enjoy."
@echo ""

5 changes: 3 additions & 2 deletions summary.in
Expand Up @@ -46,14 +46,15 @@ printf (" RRD Files stored in: %s\n","@PERFDATA_DIR@");
printf (" process_perfdata.pl Logfile: %s\n","@PERFDATA_LOG@");
printf (" Perfdata files (NPCD) stored in: %s\n","@PERFDATA_SPOOL_DIR@");
printf ("\n");
printf (" Web Interface Options:");
printf (" Web Interface Options:\n");
printf (" ------------------------- -------------------\n");
printf (" HTML URL: %s\n","http://localhost@BASE_URL@");
printf (" Apache Config File: %s\n","@HTTPD_CONF@/@PKG_NAME@.conf");
if( $#ARGV == -1){
printf ("\n\n");
printf (" Review the options above for accuracy. If they look okay,\n");
printf (" type 'make all' to compile.\n");

}
if($conf{USE_RRDs} == 0){
print "\n\n";
print " WARNING: The RRDs Perl Modules are not found on your system\n";
Expand Down

0 comments on commit 2eddb4f

Please sign in to comment.