view Makefile.am @ 5:ccf40fd3b050

autoconf cleanup from libpst changes
author Carl Byington <carl@five-ten-sg.com>
date Sat, 07 Feb 2009 11:33:07 -0800
parents 180d26aa2a17
children 3c0db610c641
line wrap: on
line source

ACLOCAL_AMFLAGS = -I m4

SUBDIRS = src man html info
hackdir = $(sysconfdir)
hack_SCRIPTS = routeflapper
sysconf_DATA = routeflapper.conf
htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@
html_DATA = AUTHORS COPYING ChangeLog NEWS README
CLEANFILES = routeflapper xml/routeflapper xml/Makefile
EXTRA_DIST = routeflapper.conf routeflapper.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/r*)

routeflapper: routeflapper.rc
	   cat routeflapper.rc     | \
	       sed -e "s,SBINDIR,$(sbindir),g"  | \
	       sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>routeflapper

chkconfig: routeflapper
	   mv -f $(sysconfdir)/routeflapper /etc/rc.d/init.d
	   /sbin/chkconfig --del routeflapper
	   /sbin/chkconfig --add routeflapper