aboutsummaryrefslogtreecommitdiff
path: root/unix/mkfile.what
diff options
context:
space:
mode:
Diffstat (limited to 'unix/mkfile.what')
-rw-r--r--unix/mkfile.what22
1 files changed, 22 insertions, 0 deletions
diff --git a/unix/mkfile.what b/unix/mkfile.what
new file mode 100644
index 00000000..07ccc52c
--- /dev/null
+++ b/unix/mkfile.what
@@ -0,0 +1,22 @@
+all:V: $TARG
+
+%: $PLAN9/include/%
+ cp $prereq $target
+
+%: $PLAN9/unix/man/%
+ cat ../man/ex.man $prereq >$target
+
+%: $PLAN9/unix/make/%
+ cp $prereq $target
+
+Makefile:D: $PLAN9/unix/make/Makefile.TOP $PLAN9/unix/make/Makefile.$WHAT $PLAN9/unix/make/Makefile.LIB $PLAN9/unix/make/Makefile.BOT
+ cat $prereq >$target
+ [ $WHAT = mk ] && cat $PLAN9/unix/make/Makefile.CMD >>$target
+ exit 0
+
+README: $PLAN9/unix/README
+ cp $prereq $target
+
+NOTICE: $PLAN9/unix/NOTICE.$WHAT
+ cp $prereq $target
+