summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..9ff76fd
--- /dev/null
+++ b/build
@@ -0,0 +1,33 @@
+#! /usr/bin/make -f
+
+basefiles: basefiles.buildstamp
+
+.SILENT: basefiles.buildstamp
+basefiles.buildstamp:
+ mv src dest
+ cd dest && \
+ mkdir -pv bin boot dev etc/opt home lib media mnt opt proc && \
+ install -dv -m 0750 root && \
+ mkdir -pv sbin srv sys && \
+ install -dv -m 1777 tmp var/tmp && \
+ mkdir -pv usr/bin usr/include usr/lib usr/sbin \
+ usr/share/man usr/share/misc usr/src && \
+ mkdir -pv usr/local/bin usr/local/include usr/local/lib usr/local/sbin \
+ usr/local/share/man usr/local/share/misc usr/local/src
+ mkdir -pv usr/local/etc usr/local/games
+ mkdir -pv usr/share/doc usr/share/info usr/share/locale \
+ usr/share/terminfo usr/share/zoneinfo && \
+ mkdir -pv usr/local/share/doc usr/local/share/info \
+ usr/local/share/locale usr/local/share/terminfo \
+ usr/local/share/zoneinfo && \
+ mkdir -pv usr/share/man/man1 usr/share/man/man2 \
+ usr/share/man/man3 usr/share/man/man4 \
+ usr/share/man/man5 usr/share/man/man6 \
+ usr/share/man/man7 usr/share/man/man8 && \
+ mkdir -pv usr/local/share/man/man1 usr/local/share/man/man2 \
+ usr/local/share/man/man3 usr/local/share/man/man4 \
+ usr/local/share/man/man5 usr/local/share/man/man6 \
+ usr/local/share/man/man7 usr/local/share/man/man8 && \
+ ln -sv share/man usr/local/man && \
+ mkdir -pv var/cache var/lib/misc var/local var/lock var/log var/mail \
+ var/opt var/run var/spool