makefile (418B)
1 LOCALSERVER := laundry 2 REMOTESERVER := nublar 3 FILESDIR = files 4 5 .PHONY: dnsmasq 6 7 dnsmasq: 8 if [ ! -d ${FILESDIR} ] ; then mkdir ${FILESDIR} ; fi 9 /usr/bin/pass systems/etc_hosts/default > ${FILESDIR}/default.hosts 10 /usr/bin/pass systems/etc_hosts/local > ${FILESDIR}/local.hosts 11 /usr/bin/pass systems/etc_hosts/remote > ${FILESDIR}/remote.hosts 12 drist ${REMOTESERVER} 13 drist ${LOCALSERVER} 14 rm -f ${FILESDIR}/*.hosts