mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
begun rearranging poppler-data-dir
This commit is contained in:
parent
30ffdeeea4
commit
1b7bab3e2d
@ -27,7 +27,10 @@ make install DESTDIR=../../imageBuild/appDir
|
||||
|
||||
cd ../../poppler-data
|
||||
|
||||
make install prefix=$PDF2HTMLEX_PREFIX DESTDIR=../imageBuild/appDir
|
||||
make install \
|
||||
prefix=$PDF2HTMLEX_PREFIX \
|
||||
datadir=$PDF2HTMLEX_PREFIX/share/pdf2htmlEX \
|
||||
DESTDIR=../imageBuild/appDir
|
||||
|
||||
cd ../imageBuild
|
||||
|
||||
|
@ -25,7 +25,10 @@ make install DESTDIR=../../imageBuild/dockerDir
|
||||
|
||||
cd ../../poppler-data
|
||||
|
||||
make install prefix=$PDF2HTMLEX_PREFIX DESTDIR=../imageBuild/dockerDir
|
||||
make install \
|
||||
prefix=$PDF2HTMLEX_PREFIX \
|
||||
datadir=$PDF2HTMLEX_PREFIX/share/pdf2htmlEX \
|
||||
DESTDIR=../imageBuild/appDir
|
||||
|
||||
cd ../imageBuild/dockerDir
|
||||
|
||||
|
@ -20,3 +20,12 @@ fi
|
||||
cd pdf2htmlEX/build
|
||||
|
||||
sudo make install
|
||||
|
||||
## NEED to install poppler-data!!!
|
||||
#
|
||||
cd ../../poppler-data
|
||||
|
||||
make install \
|
||||
prefix=$PDF2HTMLEX_PREFIX \
|
||||
datadir=$PDF2HTMLEX_PREFIX/share/pdf2htmlEX \
|
||||
DESTDIR=../imageBuild/appDir
|
||||
|
@ -68,6 +68,7 @@ void show_version_and_exit(const char * dummy = nullptr)
|
||||
cerr << " cairo " << cairo_version_string() << endl;
|
||||
#endif
|
||||
cerr << "Default data-dir: " << param.data_dir << endl;
|
||||
cerr << "Poppler data-dir: " << param.poppler_data_dir << endl;
|
||||
cerr << "Supported image format:";
|
||||
#ifdef ENABLE_LIBPNG
|
||||
cerr << " png";
|
||||
@ -378,7 +379,7 @@ int main(int argc, char **argv)
|
||||
//
|
||||
param.data_dir = string(getenv("APPDIR")) + param.data_dir;
|
||||
}
|
||||
|
||||
param.poppler_data_dir = param.data_dir + "/poppler"
|
||||
parse_options(argc, argv);
|
||||
check_param();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user