6 HOST = $(shell hostname)
11 $(M4) -P $< >$@.new && mv $@.new $@
13 TARGETS += authorized_keys
14 authorized_keys: authkeys.base $(wildcard authkeys.$(HOST)/*)
15 { echo "### DO NOT EDIT! Generated from authkeys.*" && \
16 cat $^ | grep "^[^#]"; \
17 } >$@.new && mv $@.new $@
19 TARGETS += known_hosts
20 known_hosts: /var/cache/ssh-certs/known_hosts $(wildcard known_hosts.*)
21 { echo "### DO NOT EDIT! Generated from known_hosts.*" && \
22 cat $^ | grep "^[^#]"; \
23 } >$@.new && mv $@.new $@
26 clean:; rm -f $(TARGETS)