source: mainline/meson/part/initrd/install.sh.in

Last change on this file was 200b2113, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago

Reorganize main meson.build script

I split most of it into separate subdirs, so that the overall organization
is easier to follow.

  • Property mode set to 100644
File size: 351 bytes
Line 
1#!/bin/sh
2
3if [ "$#" -ge 1 ]; then
4 touch "$1"
5fi
6
7if [ "$#" -ge 2 ]; then
8 DESTDIR="$2"
9else
10 DESTDIR="${MESON_INSTALL_DESTDIR_PREFIX}"
11fi
12
13rm -rf "${DESTDIR}"
14
15mkdir -p "${DESTDIR}cfg/"
16mkdir -p "${DESTDIR}data/"
17mkdir -p "${DESTDIR}loc/"
18mkdir -p "${DESTDIR}log/"
19mkdir -p "${DESTDIR}tmp/"
20mkdir -p "${DESTDIR}vol/"
21mkdir -p "${DESTDIR}w/"
22
23@text@
Note: See TracBrowser for help on using the repository browser.