mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-23 17:53:40 +08:00
7fb6beed01
On my non-representative hardware, the full build using autotools (./autogen.sh && CFLAGS=-O2 ./configure && make -j`nproc` && make -j`nproc` install) takes about 45 seconds. On the same hardware, the full build using meson (meson setup -Doptimization=2 dir && meson compile -C dir && meson install -C dir) takes just about 7.5 seconds.
8 lines
184 B
Bash
Executable File
8 lines
184 B
Bash
Executable File
#!/bin/sh -eu
|
|
|
|
cd "$1"; shift
|
|
MESON_INSTALL_DESTDIR=${MESON_INSTALL_DESTDIR_PREFIX%$MESON_INSTALL_PREFIX}
|
|
dest="$MESON_INSTALL_DESTDIR$1"; shift
|
|
|
|
install -p -m644 -t "$dest" -- *.html
|