summaryrefslogtreecommitdiff
path: root/mkfiles/mksubdirs
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
commit46439007cf417cbd9ac8049bb4122c890097a0fa (patch)
tree6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /mkfiles/mksubdirs
parent37da2899f40661e3e9631e497da8dc59b971cbd0 (diff)
20060303-partial
Diffstat (limited to 'mkfiles/mksubdirs')
-rw-r--r--mkfiles/mksubdirs25
1 files changed, 25 insertions, 0 deletions
diff --git a/mkfiles/mksubdirs b/mkfiles/mksubdirs
new file mode 100644
index 00000000..3192320e
--- /dev/null
+++ b/mkfiles/mksubdirs
@@ -0,0 +1,25 @@
+all:V: all-$SHELLTYPE
+install:V: install-$SHELLTYPE
+uninstall:V: uninstall-$SHELLTYPE
+nuke:V: nuke-$SHELLTYPE
+clean:V: clean-$SHELLTYPE
+
+%-rc %-nt:QV:
+ for (j in $DIRS)
+ {
+ {
+ test -d $j && {
+ echo '@{builtin cd' $j '; mk $MKFLAGS $stem}'
+ @{builtin cd $j; mk $MKFLAGS $stem}
+ }
+ } || test ! -e $j
+ }
+
+%-sh:QV:
+ for j in $DIRS
+ do
+ if test -d $j; then
+ echo "(cd $j; mk $MKFLAGS $stem)"
+ (cd $j; mk $MKFLAGS $stem)
+ fi || test ! -e $j
+ done