1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

added createDebianPackage into createImages added Licenses corrected install of poppler-data

This commit is contained in:
Stephen Gaito 2020-06-01 11:06:06 +00:00
parent 82aeeac8c7
commit ed2f9db9cb
3 changed files with 13 additions and 5 deletions

View File

@ -44,6 +44,12 @@ cd ..
#
git log --format="%cd %h %d %n %s%n" --date=short > $DOCDIR/gitLog
# Ensure the license and readme details are embedded in the debian archive
#
cp LICENSE $DOCDIR
cp LICENSE_GPLv3 $DOCDIR
cp README.md $DOCDIR
########################################
# setup the DEBIAN package files
@ -73,7 +79,7 @@ echo "Architecture: $architectureValue" >> $controlFile
echo "Section: universe/web" >> $controlFile
echo "Priority: optional" >> $controlFile
echo "Essential: no" >> $controlFile
echo "Depends: libglib2.0-0, libcairo2, libpng16-16, libjpeg-turbo8, libxml2" >> $controlFile
echo "Depends: libglib2.0-0, libfreetype6, libfontconfig1, libcairo2, libpng16-16, libjpeg-turbo8, libxml2" >> $controlFile
echo "Maintainer: $maintainerValue" >> $controlFile
echo "Homepage: http://github.com/pdf2htmlEX/pdf2htmlEX" >> $controlFile
echo "Description: Converts PDF to HTML without losing format" >> $controlFile

View File

@ -11,4 +11,6 @@
./buildScripts/createDockerImage || { echo 'createDockerImage FAILED' ; exit 1 ; }
./buildScripts/createDebianPackage || { echo 'createDebianPackage FAILED' ; exit 1 ; }

View File

@ -25,6 +25,6 @@ sudo make install
#
cd ../../poppler-data
make install \
sudo make install \
prefix=$PDF2HTMLEX_PREFIX \
datadir=$PDF2HTMLEX_PREFIX/share/pdf2htmlEX