about summary refs log tree commit diff
path: root/Src/Aliases/alias.mdd.in
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Aliases/alias.mdd.in')
-rw-r--r--Src/Aliases/alias.mdd.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/Src/Aliases/alias.mdd.in b/Src/Aliases/alias.mdd.in
new file mode 100644
index 000000000..5fb10b4e2
--- /dev/null
+++ b/Src/Aliases/alias.mdd.in
@@ -0,0 +1,20 @@
+name=@ALIASNAME@
+
+nozshdep=1
+
+moddeps="@DEPNAME@"
+
+objects="@LOCALNAME@.o"
+
+:<<\Make
+@LOCALNAME@.mdd: alias.mdd.in
+	rm -f $@
+	cd $(sdir) && ./.preconfig
+
+@LOCALNAME@.c: alias.c.in
+	sed 's,@NAME@,@LOCALNAME@,g' < $(sdir)/alias.c.in > $@
+
+clean-here: clean.@LOCALNAME@
+clean.@LOCALNAME@:
+	rm -f @LOCALNAME@.c
+Make