######### # some useful defines INSTALL=install INSTALL_BIN=$(INSTALL) -m 755 INSTALL_SBIN=$(INSTALL) -m 700 INSTALL_OTH=$(INSTALL) -m 644 TMPDIR=/tmp install: mkdir -p /usr/local/etc/periodic/daily #echo "1 * * * * root /usr/local/bin/log_traffic" >> /etc/crontab @$(INSTALL_BIN) generateGraph.pl /usr/local/bin @$(INSTALL_BIN) log_traffic /usr/local/bin @$(INSTALL_SBIN) ftplog2commonlog /usr/local/sbin @$(INSTALL_SBIN) maillog2commonlog.pl /usr/local/sbin @$(INSTALL_SBIN) split_logs /usr/local/sbin @$(INSTALL_SBIN) sitestats_purgeOmatic.pl /usr/local/etc/periodic/daily/400.sitestats_purgeOmatic.pl @$(INSTALL_OTH) analog.cfg.tmpl /usr/local/etc/analog.cfg.tmpl @$(INSTALL_OTH) analog.cfg.tmpl /usr/local/etc/analog.cfg @$(INSTALL_OTH) sitestats /usr/local/etc/logrotate.d @$(INSTALL_OTH) apache.logrotate /usr/local/etc/logrotate.d/apache @$(INSTALL_BIN) tmpwatch_sitestats /etc/periodic/daily/410.tmpwatch_sitestats @$(INSTALL_BIN) grab_logs.pl /usr/local/sbin