Makefile (573B) [raw]
1 # Simple Makefile to pull from /etc 2 FILES = /etc/httpd.conf \ 3 /etc/acme-client.conf \ 4 /etc/mail/smtpd.conf \ 5 /etc/daily.local \ 6 /etc/weekly.local \ 7 /var/git/stagit-post-receive \ 8 /usr/local/bin/newrepo \ 9 /usr/local/man/man1/newrepo.1 \ 10 /usr/local/bin/wggen \ 11 /usr/local/bin/dumpster \ 12 /usr/local/bin/newuser \ 13 /usr/local/man/man8/wggen.8 \ 14 /usr/local/man/man8/dumpster.8 \ 15 /home/_soju/soju.cfg 16 17 .PHONY: pull 18 pull: 19 for f in $(FILES); do \ 20 cp $$f .$$f; \ 21 done 22 sed 's/Password =.*/Password = <redacted>/' /etc/ngircd/ngircd.conf > \ 23 etc/ngircd/ngircd.conf