This repository has been archived on 2025-02-12. You can view files and clone it, but cannot push or open issues or pull requests.
NeoStats/Makefile.am
2005-11-19 09:01:40 +00:00

37 lines
1.1 KiB
Makefile

AUTOMAKE_OPTIONS = foreign
SUBDIRS = include lib src modules
ACLOCAL_AMFLAGS = -I autotools
AM_MAKEFLAGS = -s
dist_bin_SCRIPTS = makeconf
dist_data_DATA = neostats.motd
docdir = @prefix@/doc
dist_doc_DATA = doc/FAQ doc/USERMAN
DISTCLEANFILES = autotools/ccdv
EXTRA_DIST = autotools/ccdv.c CREDITS INSTNOTES RELNOTES autotools/shtool
all-local:
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 ""
$(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