blob: 9ff76fdc23ce35223b43be6c6e8a0573b072dd69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
|