view Makefile.am @ 1:47f787af96c1

update documentation to match code
author Carl Byington <carl@five-ten-sg.com>
date Tue, 13 May 2008 15:46:53 -0700
parents 48d06780cf77
children 180d26aa2a17
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/s*)

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