comparison Makefile.am @ 0:48d06780cf77

initial version
author Carl Byington <carl@five-ten-sg.com>
date Tue, 13 May 2008 14:03:10 -0700
parents
children 180d26aa2a17
comparison
equal deleted inserted replaced
-1:000000000000 0:48d06780cf77
1 ACLOCAL_AMFLAGS = -I m4
2
3 SUBDIRS = src man html info
4 hackdir = $(sysconfdir)
5 hack_SCRIPTS = routeflapper
6 sysconf_DATA = routeflapper.conf
7 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@
8 html_DATA = AUTHORS COPYING ChangeLog NEWS README
9 CLEANFILES = routeflapper xml/routeflapper xml/Makefile
10 EXTRA_DIST = routeflapper.conf routeflapper.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/s*)
11
12 routeflapper: routeflapper.rc
13 cat routeflapper.rc | \
14 sed -e "s,SBINDIR,$(sbindir),g" | \
15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>routeflapper
16
17 chkconfig: routeflapper
18 mv -f $(sysconfdir)/routeflapper /etc/rc.d/init.d
19 /sbin/chkconfig --del routeflapper
20 /sbin/chkconfig --add routeflapper
21