root/Makefile.in

Revision 2bc5626b8ac966b5f005b82b31668e5c0bba81f6, 1.3 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

closes, #19

  • Property mode set to 100644
Line 
1 prefix=@prefix@
2 vardir=/var
3 exec_prefix=@exec_prefix@
4 bindir=@bindir@
5 sbindir=@sbindir@
6 libdir=@libdir@
7 includedir=${prefix}/include
8 libexecdir=@libexecdir@
9 mandir=@mandir@
10 sysconfdir=@sysconfdir@
11 srcdir=@srcdir@
12 top_srcdir=@top_srcdir@
13
14 DESTDIR=
15 mkinstalldirs=./mkinstalldirs
16 install=./install-sh -c
17
18 perl=@PERL@
19 pod2man=@POD2MAN@
20
21 all:
22         sed -e "s#/usr/bin/perl#$(perl)#;" -e "s#__PREFIX__#$(prefix)#;" \
23         < zetaback.in > zetaback
24         sed -e "s#/usr/bin/perl#$(perl)#;" -e "s#__PREFIX__#$(prefix)#;" \
25         < zetaback_agent.in > zetaback_agent
26
27 install: all
28         $(mkinstalldirs) ${DESTDIR}${bindir}
29         $(mkinstalldirs) ${DESTDIR}${sysconfdir}
30         $(mkinstalldirs) ${DESTDIR}${mandir}
31         $(mkinstalldirs) ${DESTDIR}${mandir}/man1
32         $(pod2man) zetaback zetaback.1
33         $(pod2man) zetaback_agent zetaback_agent.1
34         $(install) -m 0755 zetaback ${DESTDIR}${bindir}/zetaback
35         $(install) -m 0755 zetaback_agent ${DESTDIR}${bindir}/zetaback_agent
36         $(install) -m 0644 zetaback.conf ${DESTDIR}${sysconfdir}/zetaback.conf.sample
37         $(install) -m 0644 zetaback_agent.conf ${DESTDIR}${sysconfdir}/zetaback_agent.conf.sample
38         $(install) -m 0644 zetaback.1 ${DESTDIR}${mandir}/man1/zetaback.1
39         $(install) -m 0644 zetaback_agent.1 ${DESTDIR}${mandir}/man1/zetaback_agent.1
40
41 clean:
42         rm -f zetaback zetaback_agent zetaback.1 zetaback_agent.1
43
44 distclean: clean
45         rm -f Makefile
Note: See TracBrowser for help on using the browser.