cleanup
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh -eu
|
||||
|
||||
libdir="${MESON_INSTALL_DESTDIR_PREFIX}/lib"
|
||||
mkdir -p $libdir
|
||||
|
||||
#libfile=`ldd ${MESON_INSTALL_DESTDIR_PREFIX}/bin/sernatur | grep libpq | cut -d ' ' -f 3`
|
||||
#cp $libfile "${libdir}"
|
||||
#strip "${libdir}/libpq"*
|
||||
|
||||
if [ -f "${MESON_INSTALL_DESTDIR_PREFIX}"/bin/sernatur ]; then
|
||||
echo "Copying linked dynamic libs..."
|
||||
ldd "${MESON_INSTALL_DESTDIR_PREFIX}"/bin/sernatur | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' "${libdir}"
|
||||
fi
|
||||
echo "Stripping libs..."
|
||||
strip --strip-debug "${libdir}/"*
|
@@ -1,7 +1,2 @@
|
||||
bundle_libs = get_option('bundle_libs')
|
||||
if bundle_libs
|
||||
install_data('sernatur.sh', install_dir: '.')
|
||||
meson.add_install_script('linux_bundler.sh')
|
||||
endif
|
||||
valadoc = find_program('glib-compile-schemas')
|
||||
meson.add_install_script('compile_schemas.sh')
|
||||
|
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd "${0%/*}"
|
||||
|
||||
export LD_LIBRARY_PATH="`pwd`/lib"
|
||||
export GSETTINGS_SCHEMA_DIR="`pwd`/share/glib-2.0/schemas"
|
||||
bin/sernatur
|
Reference in New Issue
Block a user