2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

baseinit: remove usage of install

This commit is contained in:
Dylan Araps 2021-07-01 15:59:54 +00:00
parent 0a74df34ad
commit 674fa07cb2
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
#!/bin/sh -ef
mkdir -p "$1/usr/bin"
mkdir -p \
"$1/usr/bin" \
"$1/usr/share/doc/kiss/init"
cp -R etc "$1"
cp -R lib "$1/usr/lib"
@ -9,5 +11,5 @@ cp -R lib "$1/usr/lib"
# shellcheck disable=2086
for bin in kpow kall; do
"${CC:-cc}" -o "$1/usr/bin/$bin" "bin/$bin.c" $CFLAGS -static
install -Dm644 "bin/$bin.c" "$1/usr/share/doc/kiss/init/$bin.c"
cp -f "bin/$bin.c" "$1/usr/share/doc/kiss/init/$bin.c"
done

View File

@ -39,7 +39,7 @@ export PATH="$PWD/junk/bin:$PATH"
export CC="${CC:-/usr/bin/cc}"
export CXX="${CXX:-/usr/bin/c++}"
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox"
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox,--enable-new-dtags"
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
export MACH_USE_SYSTEM_PYTHON=1
export MOZ_DEBUG_FLAGS=-g0