root/Makefile.in

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

Take [59] from 1.0

  • 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 datarootdir=@datarootdir@
14
15 DESTDIR=
16 mkinstalldirs=./mkinstalldirs
17 install=./install-sh -c
18
19 zfs=@ZFS@
20 perl=@PERL@
21 pod2man=@POD2MAN@
22
23 all:
24         sed -e "s#/usr/bin/perl#$(perl)#;" -e "s#__PREFIX__#$(prefix)#;" \
25                 -e "s#__ZFS__#$(zfs)#;" \
26         < zetaback.in > zetaback
27         sed -e "s#/usr/bin/perl#$(perl)#;" -e "s#__PREFIX__#$(prefix)#;" \
28                 -e "s#__ZFS__#$(zfs)#;" \
29         < zetaback_agent.in > zetaback_agent
30
31 install: all
32         $(mkinstalldirs) ${DESTDIR}${bindir}
33         $(mkinstalldirs) ${DESTDIR}${sysconfdir}
34         $(mkinstalldirs) ${DESTDIR}${mandir}
35         $(mkinstalldirs) ${DESTDIR}${mandir}/man1
36         $(pod2man) zetaback zetaback.1
37         $(pod2man) zetaback_agent zetaback_agent.1
38         $(install) -m 0755 zetaback ${DESTDIR}${bindir}/zetaback
39         $(install) -m 0755 zetaback_agent ${DESTDIR}${bindir}/zetaback_agent
40         $(install) -m 0644 zetaback.conf ${DESTDIR}${sysconfdir}/zetaback.conf.sample
41         $(install) -m 0644 zetaback_agent.conf ${DESTDIR}${sysconfdir}/zetaback_agent.conf.sample
42         $(install) -m 0644 zetaback.1 ${DESTDIR}${mandir}/man1/zetaback.1
43         $(install) -m 0644 zetaback_agent.1 ${DESTDIR}${mandir}/man1/zetaback_agent.1
44
45 clean:
46         rm -f zetaback zetaback_agent zetaback.1 zetaback_agent.1
47
48 distclean: clean
49         rm -f Makefile
Note: See TracBrowser for help on using the browser.