diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 23 |
1 files changed, 8 insertions, 15 deletions
@@ -1,14 +1,11 @@ -#! /usr/bin/make -f +#!/usr/bin/make -f -PKGS = basefiles initscripts +build: -$(PKGS): basefiles.buildstamp - -.SILENT: basefiles.buildstamp -basefiles.buildstamp: - printf 'basefiles: Installing base files...\n' - mv src/* dest - printf 'basefiles: Making filesystem hierarchy...\n' +install: build + printf 'base-files: Installing base files...\n' + mv src dest + printf 'base-files: Making filesystem hierarchy...\n' cd dest && \ mkdir -p bin boot dev/pts etc/opt home lib media mnt opt proc && \ install -d -m 0750 root && \ @@ -35,7 +32,7 @@ basefiles.buildstamp: ln -s share/man usr/local/man && \ mkdir -p var/cache var/lib/misc var/local var/lock var/log var/mail \ var/opt var/run var/spool - printf 'basefiles: Making service run control links...\n' + printf 'base-files: Making service run control links...\n' cd dest && \ mkdir etc/rc.d && \ ln -s rc etc/init.d/rcS && \ @@ -55,8 +52,4 @@ basefiles.buildstamp: ln -s ../init.d/networking etc/rc.d/K04networking cd dest/etc/network && \ mkdir if-down.d if-post-down.d if-pre-up.d if-up.d - oh-installfiles $(PKGS) - oh-installdocs basefiles - oh-gencontrol $(PKGS) - oh-buildopk $(PKGS) - touch basefiles.buildstamp + oh-installfiles |