Anonymous avatar Anonymous committed 2b22784

More corrections to the installation process.

Putting under /usr/lib/wml/exec/wml_p[1-9]*.

Comments (0)

Files changed (10)

src/CMakeLists.txt

 # see - http://www.cmake.org/Wiki/CMake_FAQ#Is_there_an_option_to_produce_more_.27verbose.27_compiling.3F
-SET(CMAKE_VERBOSE_MAKEFILE ON)
+# SET(CMAKE_VERBOSE_MAKEFILE ON)
 
 SET(VERSION "2.1.1")
 

src/wml_backend/p1_ipp/CMakeLists.txt

-SET(CMAKE_VERBOSE_MAKEFILE ON)
-include("../../Common.cmake")
-
 PREPROCESS_PATH_PERL("ipp_preproc" "ipp.src" "ipp.pl")
 INST_POD2MAN("ipp_pod" "ipp.src" "ipp" "1")
+INSTALL(
+    PROGRAMS "ipp.pl"
+    DESTINATION "${WML_LIBEXE_DIR}"
+    RENAME "wml_p1_ipp"
+)

src/wml_backend/p2_mp4h/src/CMakeLists.txt

 
 TARGET_LINK_LIBRARIES(mp4h ${MATH_LIB_LIST} ${LIBPCRE_LIB} mp4h_lib)
 
-INSTALL( TARGETS mp4h DESTINATION bin)
+SET_TARGET_PROPERTIES(mp4h
+    PROPERTIES OUTPUT_NAME "wml_p2_mp4h"
+)
+
+INSTALL( TARGETS mp4h DESTINATION "${WML_LIBEXE_DIR}")

src/wml_backend/p3_eperl/CMakeLists.txt

     PROPERTIES LINK_FLAGS "${perl_ccdlflags} ${perl_ldflaags} -L${perl_archlib}/CORE ${perl_dla} -lperl ${perl_libs}"
 )
 
+SET_TARGET_PROPERTIES(${EXE}
+    PROPERTIES OUTPUT_NAME "wml_p3_${EXE}"
+)
+
+INSTALL(TARGETS ${EXE} DESTINATION "${WML_LIBEXE_DIR}")
+
 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config_ac.h.cmake ${CMAKE_CURRENT_SOURCE_DIR}/config_ac.h)
 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config_sc.h.cmake ${CMAKE_CURRENT_SOURCE_DIR}/config_sc.h)

src/wml_backend/p4_gm4/src/CMakeLists.txt

 
 TARGET_LINK_LIBRARIES( m4 ${MATH_LIB_LIST} m4_lib )
 
-INSTALL( TARGETS m4 DESTINATION bin)
+SET_TARGET_PROPERTIES(m4
+    PROPERTIES OUTPUT_NAME "wml_p4_gm4"
+)
 
+INSTALL(
+    TARGETS m4
+    DESTINATION "${WML_LIBEXE_DIR}"
+)
+

src/wml_backend/p5_divert/CMakeLists.txt

 
 PREPROCESS_PATH_PERL("divert_preproc" "divert.src" "divert.pl")
 INST_POD2MAN("divert_pod" "divert.src" "divert" "1")
+INSTALL(
+    PROGRAMS "divert.pl"
+    DESTINATION "${WML_LIBEXE_DIR}"
+    RENAME "wml_p5_divert"
+)

src/wml_backend/p6_asubst/CMakeLists.txt

 
 PREPROCESS_PATH_PERL("asubst_preproc" "asubst.src" "asubst.pl")
 INST_POD2MAN("asubst_pod" "asubst.src" "asubst" "1")
+INSTALL(
+    PROGRAMS "asubst.pl"
+    DESTINATION "${WML_LIBEXE_DIR}"
+    RENAME "wml_p6_asubst"
+)

src/wml_backend/p7_htmlfix/CMakeLists.txt

 
 PREPROCESS_PATH_PERL("htmlfix_preproc" "htmlfix.src" "htmlfix.pl")
 INST_POD2MAN("htmlfix_pod" "htmlfix.src" "htmlfix" "1")
+INSTALL(
+    PROGRAMS "htmlfix.pl"
+    DESTINATION "${WML_LIBEXE_DIR}"
+    RENAME "wml_p7_htmlfix"
+)

src/wml_backend/p8_htmlstrip/CMakeLists.txt

 
 PREPROCESS_PATH_PERL("htmlstrip_preproc" "htmlstrip.src" "htmlstrip.pl")
 INST_POD2MAN("htmlstrip_pod" "htmlstrip.src" "htmlstrip" "1")
+INSTALL(
+    PROGRAMS "htmlstrip.pl"
+    DESTINATION "${WML_LIBEXE_DIR}"
+    RENAME "wml_p8_htmlstrip"
+)

src/wml_backend/p9_slice/CMakeLists.txt

 
 PREPROCESS_PATH_PERL("slice_preproc" "slice_main.pl" "slice")
 INST_POD2MAN("slice_pod" "slice.pod" "slice" "1")
+INSTALL(
+    PROGRAMS "slice"
+    DESTINATION "${WML_LIBEXE_DIR}"
+    RENAME "wml_p9_slice"
+)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.