Browse Source

remove manual PDFs from gnu/linux zip

master
Alexandros Theodotou 6 months ago
parent
commit
7392313c8a
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 8
      gnu-linux/make_installer_zip.sh.in
  2. 3
      meson.build
  3. 5
      meson_options.txt

8
gnu-linux/make_installer_zip.sh.in

@ -32,7 +32,6 @@ zip_filename=`basename $out_file` @@ -32,7 +32,6 @@ zip_filename=`basename $out_file`
zip_inner_dir_name="${zip_filename%.*}"
zip_inner_dir="$private_dir/$zip_inner_dir_name"
zrythm_version="@ZRYTHM_PKG_VERSION@"
pdf_dir="@PDF_DIR@"
dash_trial="@DASH_TRIAL@"
rm -rf $out_file
@ -83,13 +82,8 @@ for distro in $distros ; do @@ -83,13 +82,8 @@ for distro in $distros ; do
echo "done"
done
pdf=""
if [ "@TRIAL_TRUE_FALSE@" = "false" ]; then
pdf="$(ls $pdf_dir/Zrythm-*.pdf)"
fi
echo "zipping installer..."
cp -R $pdf $installer_sh $readme $zip_inner_dir/
cp -R $installer_sh $readme $zip_inner_dir/
pushd $private_dir
zip -r $zip_inner_dir_name.zip $zip_inner_dir_name
popd

3
meson.build

@ -146,8 +146,6 @@ global_conf.set ( @@ -146,8 +146,6 @@ global_conf.set (
global_conf.set ('EMAIL_AT_SYM', '@')
global_conf.set (
'PACKAGES_DIR', get_option ('packages-dir'))
global_conf.set (
'PDF_DIR', get_option ('pdf-dir'))
global_conf.set (
'GET_PKG_FILENAME_SH_PATH',
meson.build_root () / 'scripts/get_pkg_filename.sh')
@ -238,7 +236,6 @@ summary ({ @@ -238,7 +236,6 @@ summary ({
'prefix': prefix,
'libdir': libdir,
'Packages dir': get_option ('packages-dir'),
'PDF dir': get_option ('pdf-dir'),
}, section: 'Directories')
summary ({

5
meson_options.txt

@ -117,8 +117,3 @@ option ( @@ -117,8 +117,3 @@ option (
'packages-dir', type: 'string',
value: '/tmp/packages',
description: 'Dir holding each package (for GNU/Linux zip)')
option (
'pdf-dir', type: 'string',
value: '/tmp/pdf',
description: 'Dir holding each manual PDF (for GNU/Linux zip)')

Loading…
Cancel
Save