0
|
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
|