<commit_before>cmake_minimum_required(VERSION 2.8)
project(coumap)
cmake_policy(VERSION 2.8.7)

set(CMAKE_COUMAP_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/coumap")
set(CMAKE_COUMAP_HEADER_PATH "${CMAKE_COUMAP_INSTALL_PREFIX}/include")
set(CMAKE_COUMAP_LIB_PATH "${CMAKE_COUMAP_INSTALL_PREFIX}/lib")
set(CMAKE_COUMAP_BIN_PATH "${CMAKE_COUMAP_INSTALL_PREFIX}/bin")
set(CMAKE_COUMAP_CMAKE_SCRIPTS_PATH "${CMAKE_COUMAP_INSTALL_PREFIX}/cmake_scripts")
set(CMAKE_COUMAP_INSTALL_TARGETS "coumap-targets")

include_directories (${CMAKE_CURRENT_SOURCE_DIR})
include_directories (${CMAKE_CURRENT_BINARY_DIR})

# List of all subdirectories in coumap
list(APPEND COUMAP_SUBDIRS lib)

foreach(dir ${COUMAP_SUBDIRS})
  add_subdirectory(${dir})
  file(GLOB_RECURSE C_FILES ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/*.c)
  file(GLOB_RECURSE H_FILES ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/*.h)
  list(APPEND CPPLINT_C_FILES ${C_FILES})
  list(APPEND CPPLINT_H_FILES ${H_FILES})
endforeach()
<commit_msg>Fix make install target<commit_after>cmake_minimum_required(VERSION 2.8)
project(coumap)
cmake_policy(VERSION 2.8.7)

set(CMAKE_COUMAP_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
set(CMAKE_COUMAP_HEADER_PATH "${CMAKE_COUMAP_INSTALL_PREFIX}/include")
set(CMAKE_COUMAP_LIB_PATH "${CMAKE_COUMAP_INSTALL_PREFIX}/lib")
set(CMAKE_COUMAP_BIN_PATH "${CMAKE_COUMAP_INSTALL_PREFIX}/bin")
set(CMAKE_COUMAP_CMAKE_SCRIPTS_PATH "${CMAKE_COUMAP_INSTALL_PREFIX}/cmake_scripts")
set(CMAKE_COUMAP_INSTALL_TARGETS "coumap-targets")

include_directories (${CMAKE_CURRENT_SOURCE_DIR})
include_directories (${CMAKE_CURRENT_BINARY_DIR})

# List of all subdirectories in coumap
list(APPEND COUMAP_SUBDIRS lib)

foreach(dir ${COUMAP_SUBDIRS})
  add_subdirectory(${dir})
  file(GLOB_RECURSE C_FILES ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/*.c)
  file(GLOB_RECURSE H_FILES ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/*.h)
  list(APPEND CPPLINT_C_FILES ${C_FILES})
  list(APPEND CPPLINT_H_FILES ${H_FILES})
endforeach()

{'fraction_non_alphanumeric': 0.1185223191380195, 'fraction_numerical': 0.00513083632632119, 'mean_word_length': 11.580645161290322, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7608267', 'n_tokens_mistral': 837, 'n_tokens_neox': 767, 'n_words': 95}