-&DEPS += $; make-secnet-sites
-&DEPS += $; ipaddrset.py
-&DEPS += &, common.tcl
+&DEPS += &~/make-secnet-sites
+&DEPS += &~/ipaddrset.py
+&DEPS += &^/common.tcl
&:include test-common.sd.mk
&TARGETS += & udp-preload.so
&DEPS += & udp-preload.so
-&DEPS += &, common.tcl
+&DEPS += &^ common.tcl
&DEPS += secnet
&DEPS += test-example/sites.conf
&DEPS += test-example/inside.key
# Copyright 2019 Ian Jackson
# SPDX-License-Identifier: LGPL-2.0-or-later
-INCLUDES += -I&;lib/
+INCLUDES += -I&^/lib/
include subdirmk/usual.mk
include subdirmk/regen.mk
&libtoy.a: $(&OBJECTS)
$(AR) rc $@ $^
--include &,for-test.mk
+-include &^/lib/for-test.mk
my %pfxmap = (
'' => $dir_prefix,
- ',' => "\$(top_srcdir)${dir_suffix}/",
- ';' => "\$(top_srcdir)/",
+ '^' => "\$(top_srcdir)${dir_suffix}/",
+ '~' => "\$(top_srcdir)/",
);
while (<$input>) {
$targets->{$t} //= [ ];
}
elsif (m{^(?=$caps_re)}) { o $var_prefix }
- elsif (s{^([,;]?)(?=$lc_re)}{}) { o $pfxmap{$1} }
+ elsif (s{^([~^]?)(?=$lc_re)}{}) { o $pfxmap{$1} }
elsif (s{^_}{}) { o $var_prefix }
elsif (s{^=_}{}) { o $var_prefix }
- elsif (s{^([,;]?)/}{}) { o $pfxmap{$1} }
+ elsif (s{^([~^]?)/}{}) { o $pfxmap{$1} }
elsif (s{^=/}{}) { o $dir_name }
- elsif (s{^([,;]?)(?=[ \t])}{}) {
+ elsif (s{^([~^]?)(?=[ \t])}{}) {
my $prefix = $pfxmap{$1} // die;
my $after='';
if (m{([ \t])$esc}) { ($_,$after) = ($`, $1.$'); }
include common.make
-&TESTSCRIPTS ?= $(shell echo &,t-*[0-9a-z])
+&TESTSCRIPTS ?= $(shell echo &^/t-*[0-9a-z])
&TESTNAMES := $(patsubst t-%,%,$(notdir $(&TESTSCRIPTS)))
&DEPS += $(src)/test-common.tcl
CHECK_SILENT ?= @
-&d-%/ok: &,t-% $(&DEPS)
+&d-%/ok: &^/t-% $(&DEPS)
$(CHECK_SILENT) rm -rf &d-$*; mkdir &d-$*
$(CHECK_SILENT) export SECNET_TEST_BUILDDIR=$(topbuilddir); \
export PYTHONBYTECODEBASE=/dev/null; \
include common.make
-&/%.key: &,/%.key.b64
+&/%.key: &^/%.key.b64
base64 -d <$< >$@.new && mv -f $@.new $@
-&sites.conf: $(src)/make-secnet-sites &,sites Subdir.mk
- $(src)/make-secnet-sites &,sites &sites.conf
+&sites.conf: $(src)/make-secnet-sites &^/sites Subdir.mk
+ $(src)/make-secnet-sites &^/sites &sites.conf
&clean::
rm -f *~ ./#*# *.new