#!/usr/bin/env bash . ../template/init.sh coq_makefile -f _CoqProject -o Makefile cat Makefile.conf make make html mlihtml make install DSTROOT="$PWD/tmp" make install-doc DSTROOT="$PWD/tmp" #make debug # to learn about <(cmd) see https://www.gnu.org/software/bash/manual/html_node/Process-Substitution.html ( while IFS= read -r -d '' d do pushd "$d" >/dev/null && find . && popd >/dev/null done < <(find tmp -name user-contrib -print0) ) | sort -u > actual sort -u > desired <