<commit_before>cmake_minimum_required(VERSION 2.8.5)
project(mkrom C)
set(CMAKE_CXX_FLAGS "-g")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "bin/")
add_definitions("-Wall")

add_executable(mkrom
    main.c
)

install(PROGRAMS bin/mkrom
    DESTINATION bin)

set(CMAKE_BUILD_TYPE Release)

ADD_CUSTOM_TARGET(man ALL)

ADD_CUSTOM_COMMAND(
  TARGET man
  SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/mkrom.1.txt
  COMMAND a2x --no-xmllint --doctype manpage --format manpage ${CMAKE_CURRENT_SOURCE_DIR}/mkrom.1.txt 
  OUTPUTS ${CMAKE_CURRENT_BINARY_DIR}/mkrom.1
)

ADD_CUSTOM_COMMAND(
  TARGET man
  SOURCE man
  DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/mkrom.1
)

INSTALL(
    FILES ${CMAKE_CURRENT_BINARY_DIR}/mkrom.1
    DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1
)<commit_msg>Update CMakeLists.txt<commit_after>cmake_minimum_required(VERSION 2.8.5)
project(mkrom C)
set(CMAKE_CXX_FLAGS "-g")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "bin/")
add_definitions("-Wall")

add_executable(mkrom
    main.c
)

install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/mkrom
    DESTINATION bin)

set(CMAKE_BUILD_TYPE Release)

ADD_CUSTOM_COMMAND(
  TARGET mkrom
  DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/mkrom.1.txt
  COMMAND a2x --no-xmllint --doctype manpage --format manpage ${CMAKE_CURRENT_SOURCE_DIR}/mkrom.1.txt -v -D ${CMAKE_CURRENT_BINARY_DIR}
  OUTPUTS ${CMAKE_CURRENT_BINARY_DIR}/mkrom.1
)

INSTALL(
    FILES ${CMAKE_CURRENT_BINARY_DIR}/mkrom.1
    DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1
)
{'fraction_non_alphanumeric': 0.10973084886128365, 'fraction_numerical': 0.013112491373360938, 'mean_word_length': 5.651376146788991, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '710646', 'n_tokens_mistral': 628, 'n_tokens_neox': 585, 'n_words': 87}