mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
fixing cmake
This commit is contained in:
parent
9904c98cbe
commit
9fcac81465
@ -239,7 +239,8 @@ add_custom_command(OUTPUT ${CMAKE_SOURCE_DIR}/share/pdf2htmlEX.js
|
|||||||
)
|
)
|
||||||
|
|
||||||
install (TARGETS pdf2htmlEX DESTINATION bin)
|
install (TARGETS pdf2htmlEX DESTINATION bin)
|
||||||
file (GLOB datafiles
|
|
||||||
|
set(PDF2HTMLEX_RESOURCE
|
||||||
${CMAKE_SOURCE_DIR}/share/base.css
|
${CMAKE_SOURCE_DIR}/share/base.css
|
||||||
${CMAKE_SOURCE_DIR}/share/fancy.css
|
${CMAKE_SOURCE_DIR}/share/fancy.css
|
||||||
${CMAKE_SOURCE_DIR}/share/jquery.js
|
${CMAKE_SOURCE_DIR}/share/jquery.js
|
||||||
@ -248,7 +249,7 @@ file (GLOB datafiles
|
|||||||
${CMAKE_SOURCE_DIR}/share/pdf2htmlEX.js
|
${CMAKE_SOURCE_DIR}/share/pdf2htmlEX.js
|
||||||
${CMAKE_SOURCE_DIR}/share/pdf2htmlEX-64x64.png
|
${CMAKE_SOURCE_DIR}/share/pdf2htmlEX-64x64.png
|
||||||
)
|
)
|
||||||
install (FILES ${datafiles} DESTINATION share/pdf2htmlEX)
|
install (FILES ${PDF2HTMLEX_RESOURCE} DESTINATION share/pdf2htmlEX)
|
||||||
install (FILES pdf2htmlEX.1 DESTINATION share/man/man1)
|
install (FILES pdf2htmlEX.1 DESTINATION share/man/man1)
|
||||||
|
|
||||||
enable_testing()
|
enable_testing()
|
||||||
|
@ -15,3 +15,7 @@ OUTPUT="$BASEDIR/../pdf2htmlEX.js"
|
|||||||
(echo 'Failed. Read `3rdparty/closure-compiler/README` for more detail.' && \
|
(echo 'Failed. Read `3rdparty/closure-compiler/README` for more detail.' && \
|
||||||
echo 'Fall back to naive concatenation' && \
|
echo 'Fall back to naive concatenation' && \
|
||||||
cat "$BASEDIR/header.js" "$BASEDIR/css_class_names.js" "$BASEDIR/viewer.js" > "$OUTPUT")
|
cat "$BASEDIR/header.js" "$BASEDIR/css_class_names.js" "$BASEDIR/viewer.js" > "$OUTPUT")
|
||||||
|
|
||||||
|
#debug
|
||||||
|
ls $BASEDIR
|
||||||
|
ls $BASEDIR/..
|
||||||
|
Loading…
Reference in New Issue
Block a user