Initial commit from resolvconf-gentoo-1.4
[openresolv] / Makefile
1 INSTALL = install 
2 ETCDIR = $(ROOT)/etc/resolvconf
3 MANDIR = $(ROOT)/usr/share/man/man8
4 BINDIR = $(ROOT)/sbin
5 VARDIR = $(ROOT)/var/run
6
7 default:
8
9 install:
10         $(INSTALL) -d $(ETCDIR)/resolv.conf.d
11         $(INSTALL) -d $(ETCDIR)/update.d
12         $(INSTALL) -d $(ETCDIR)/update-libc.d
13         $(INSTALL) -d $(MANDIR)
14         $(INSTALL) -d $(BINDIR)
15         $(INSTALL) -d $(VARDIR)/resolvconf
16         $(INSTALL) bin/resolvconf $(BINDIR)
17         $(INSTALL) update.d/libc $(ETCDIR)/update.d
18         $(INSTALL) -m 644 man/resolvconf.8 $(MANDIR)
19         ln -snf ../../var/run/resolvconf $(ETCDIR)/run