diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ade8bc..c517eb4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,4 +20,5 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ggdb") add_executable(pdftohtmlEX src/pdftohtmlEX.cc src/HTMLRenderer.cc src/HTMLRenderer.h src/BackgroundRenderer.cc src/BackgroundRenderer.h src/Consts.h src/Consts.cc src/util.h) target_link_libraries(pdftohtmlEX poppler boost_program_options) - +install (TARGETS pdftohtmlEX DESTINATION bin) +install (PROGRAMS "bin/pdf2htmlEX" DESTINATION bin) diff --git a/src/pdftohtmlEX.cc b/src/pdftohtmlEX.cc index 2abea15..249d588 100644 --- a/src/pdftohtmlEX.cc +++ b/src/pdftohtmlEX.cc @@ -107,7 +107,7 @@ void show_usage(void) cerr << "Copyright 2011 Hongliang Tian (tatetian@gmail.com)" << endl; cerr << "Copyright 2012 Lu Wang (coolwanglugmail.com)" << endl; cerr << endl; - cerr << "Usage: pdftohtml [Options] []" << endl; + cerr << "Usage: pdf2htmlEX [Options] " << endl; cerr << endl; cerr << opt_visible << endl; }