<commit_before>### CMake file for hyg-usb-linux
###
###
###   - Feb 2016: Initial version <<EMAIL>>
###
###
###############################################################################


FIND_PROGRAM(NIX_BZIP2_PATH bzip2 PATHS /bin /usr/bin/ ENV PATH NO_DEFAULT_PATH )

if(NOT NIX_BZIP2_PATH)
	message(WARNING "Could not find 'bzip2' command. Manpages will not be compressed.")
endif(NOT NIX_BZIP2_PATH)


### Default manpage 

if(NIX_BZIP2_PATH)

	add_custom_target( "man.gz" ALL cp -r "${PROJECT_SOURCE_DIR}/man/man1" .
		COMMAND ${NIX_BZIP2_PATH} -k -f "man1/hyg-usb.1" 
		COMMENT "Compressing default manpage" )

	install(FILES "${CMAKE_CURRENT_BINARY_DIR}/man1/hyg-usb.1.bz2"
		DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/man1" COMPONENT doc )

else(NIX_BZIP2_PATH)

	install(FILES "man1/hyg-usb.1"
       		DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/man1" COMPONENT doc )

endif(NIX_BZIP2_PATH)


### fr manpage


if(NIX_BZIP2_PATH)

	add_custom_target( "man_fr.gz" ALL cp -r "${PROJECT_SOURCE_DIR}/man/fr" .
		COMMAND ${NIX_BZIP2_PATH} -k -f "fr/man1/hyg-usb.1" 
		COMMENT "Compressing fr manpage" )

	install(FILES "${CMAKE_CURRENT_BINARY_DIR}/fr/man1/hyg-usb.1.bz2"
		DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/fr/man1" COMPONENT doc )

else(NIX_BZIP2_PATH)

	install(FILES "fr/man1/hyg-usb.1"
       		DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/fr/man1" COMPONENT doc )

endif(NIX_BZIP2_PATH)





<commit_msg>fixed typo in cmakefile<commit_after>### CMake file for hyg-usb-linux
###
###
###   - Feb 2016: Initial version <<EMAIL>>
###
###
###############################################################################


FIND_PROGRAM(NIX_BZIP2_PATH bzip2 PATHS /bin /usr/bin/ ENV PATH NO_DEFAULT_PATH )

if(NOT NIX_BZIP2_PATH)
	message(WARNING "Could not find 'bzip2' command. Manpages will not be compressed.")
endif(NOT NIX_BZIP2_PATH)


### Default manpage 
######

if(NIX_BZIP2_PATH)

	add_custom_target( "man.gz" ALL cp -r "${PROJECT_SOURCE_DIR}/man/man1" .
		COMMAND ${NIX_BZIP2_PATH} -k -f "man1/hyg-usb.1" 
		COMMENT "Compressing default manpage" )

	install(FILES "${CMAKE_CURRENT_BINARY_DIR}/man1/hyg-usb.1.bz2"
		DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/man1" COMPONENT doc )

else(NIX_BZIP2_PATH)

	install(FILES "man1/hyg-usb.1"
       		DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/man1" COMPONENT doc )

endif(NIX_BZIP2_PATH)


### fr et fr.UTF-8 manpages
######


if(NIX_BZIP2_PATH)

	add_custom_target( "man_fr.gz" ALL cp -r "${PROJECT_SOURCE_DIR}/man/fr" .
		COMMAND ${NIX_BZIP2_PATH} -k -f "fr/man1/hyg-usb.1" 
		COMMENT "Compressing fr(UTF-8) manpage" )

	install(FILES "${CMAKE_CURRENT_BINARY_DIR}/fr/man1/hyg-usb.1.bz2"
		DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/fr/man1" COMPONENT doc )

	install(FILES "${CMAKE_CURRENT_BINARY_DIR}/fr/man1/hyg-usb.1.bz2"
		DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/fr.UTF-8/man1" COMPONENT doc )

else(NIX_BZIP2_PATH)

	install(FILES "fr/man1/hyg-usb.1"
       		DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/fr/man1" COMPONENT doc )
	
	install(FILES "fr/man1/hyg-usb.1"
		DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/fr.UTF-8/man1" COMPONENT doc )


endif(NIX_BZIP2_PATH)






{'fraction_non_alphanumeric': 0.18639798488664988, 'fraction_numerical': 0.026133501259445843, 'mean_word_length': 4.9383177570093455, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '187973', 'n_tokens_mistral': 1447, 'n_tokens_neox': 1333, 'n_words': 211}