1: man_MANS = chilli.8 chilli.conf.5 chilli_query.1 chilli_response.1 \
2: chilli_radconfig.1 chilli-radius.5
3:
4: man_aux = $(man_MANS:=.in)
5: EXTRA_DIST = $(man_aux) \
6: dictionary.chillispot hotspotlogin.cgi attributes fmttxt.pl
7:
8: edit = sed \
9: -e 's,@SBINDIR\@,$(sbindir),g' \
10: -e 's,@INITDIR\@,$(sysconfdir)/init.d,g' \
11: -e 's,@VARRUN\@,$(localstatedir)/run,g' \
12: -e 's,@ETCCHILLI\@,$(sysconfdir)/chilli,g' \
13: -e 's,@SYSCONFDIR\@,$(sysconfdir),g' \
14: -e 's,@PREFIX\@,$(prefix),g'
15:
16: chilli.8: Makefile chilli.8.in
17: rm -f chilli.8 chilli.8.tmp
18: $(edit) chilli.8.in >chilli.8.tmp
19: mv chilli.8.tmp chilli.8
20:
21: chilli.conf.5: Makefile chilli.conf.5.in
22: rm -f chilli.conf.5 chilli.conf.5.tmp
23: $(edit) chilli.conf.5.in >chilli.conf.5.tmp
24: mv chilli.conf.5.tmp chilli.conf.5
25:
26: chilli_query.1: Makefile chilli_query.1.in
27: rm -f chilli_query.1 chilli_query.1.tmp
28: $(edit) chilli_query.1.in >chilli_query.1.tmp
29: mv chilli_query.1.tmp chilli_query.1
30:
31: chilli_response.1: Makefile chilli_response.1.in
32: rm -f chilli_response.1 chilli_response.1.tmp
33: $(edit) chilli_response.1.in >chilli_response.1.tmp
34: mv chilli_response.1.tmp chilli_response.1
35:
36: chilli-radius.5: Makefile fmttxt.pl chilli-radius.5.in attributes
37: rm -f chilli-radius.5 chilli-radius.5.tmp
38: $(edit) chilli-radius.5.in >chilli-radius.5.tmp
39: perl fmttxt.pl chilli-radius < attributes > chilli-radius.5
40: rm -f chilli-radius.5.tmp
41:
42: chilli_radconfig.1: Makefile chilli_radconfig.1.in
43: rm -f chilli_radconfig.1 chilli_radconfig.1.tmp
44: $(edit) chilli_radconfig.1.in >chilli_radconfig.1.tmp
45: mv chilli_radconfig.1.tmp chilli_radconfig.1
46:
47:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>