chiark / gitweb /
build system: Do not use autoconf's `rm'
[secnet.git] / test-example / Subdir.sd.mk
1 TARGETS=sites.conf inside.key outside.key
2
3 VPATH:=@srcdir@
4 include ../common.make
5 srcdir:=@srcdir@
6 topdir:=@top_srcdir@
7
8 all: $(TARGETS)
9
10 %.key: %.key.b64
11         base64 -d <$< >$@.new && mv -f $@.new $@
12
13 sites.conf: $(topdir)/make-secnet-sites $(srcdir)/sites Makefile
14         $(topdir)/make-secnet-sites $(srcdir)/sites sites.conf
15
16 clean:
17         rm -f *~ ./#*# *.new $(TARGETS)