annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 ACLOCAL_AMFLAGS = -I m4
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3 SUBDIRS = src man html info
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 hackdir = $(sysconfdir)
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 hack_SCRIPTS = routeflapper
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 sysconf_DATA = routeflapper.conf
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 html_DATA = AUTHORS COPYING ChangeLog NEWS README
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 CLEANFILES = routeflapper xml/routeflapper xml/Makefile
4
180d26aa2a17 Fedora 9 compile and const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 0
diff changeset
10 EXTRA_DIST = routeflapper.conf routeflapper.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/r*)
0
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 routeflapper: routeflapper.rc
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13 cat routeflapper.rc | \
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 sed -e "s,SBINDIR,$(sbindir),g" | \
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>routeflapper
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17 chkconfig: routeflapper
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
18 mv -f $(sysconfdir)/routeflapper /etc/rc.d/init.d
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
19 /sbin/chkconfig --del routeflapper
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
20 /sbin/chkconfig --add routeflapper
48d06780cf77 initial version
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
21