comparison mupdf-source/thirdparty/curl/scripts/installcheck.sh @ 3:2c135c81b16c

MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:44:09 +0200
parents b50eed0cc0ef
children
comparison
equal deleted inserted replaced
0:6015a75abc2d 3:2c135c81b16c
1 #!/bin/bash
2
3 PREFIX=$1
4
5 # Run this script in the root of the git clone. Point out the install prefix
6 # where 'make install' has already installed curl.
7
8 if test -z "$1"; then
9 echo "scripts/installcheck.sh [PREFIX]"
10 exit
11 fi
12
13 diff -u <(find docs/libcurl/ -name "*.3" -printf "%f\n" | grep -v template| sort) <(find $PREFIX/share/man/ -name "*.3" -printf "%f\n" | sort)
14
15 if test "$?" -ne "0"; then
16 echo "ERROR: installed libcurl docs mismatch"
17 exit 2
18 fi
19
20 diff -u <(find include/ -name "*.h" -printf "%f\n" | sort) <(find $PREFIX/include/ -name "*.h" -printf "%f\n" | sort)
21
22 if test "$?" -ne "0"; then
23 echo "ERROR: installed include files mismatch"
24 exit 1
25 fi
26
27 echo "installcheck: installed libcurl docs and include files look good"