ensure minihook is not in source tarballs

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
remotes/origin/pr/380
Stephan Lachnit 4 years ago committed by jackun
parent 86cef7d75c
commit ade319fe87

@ -5,6 +5,8 @@ NAME=MangoHud-$VERSION-Source
# create archive via git
git archive HEAD --format=tar --prefix=${NAME}/ --output=${NAME}.tar
# remove unused minihook from source tarball
tar -f ${NAME}.tar --delete ${NAME}/modules
# create DFSG compliant version which excludes NVML
cp ${NAME}.tar ${NAME}-DFSG.tar
tar -f ${NAME}-DFSG.tar --delete ${NAME}/include/nvml.h

Loading…
Cancel
Save