<commit_before>all: installed

SVN_DIR = spacenav_svn
SVN_URL = https://spacenav.svn.sourceforge.net/svnroot/spacenav/trunk
SVN_REVISION = -r 47
include $(shell rospack find mk)/svn_checkout.mk

installed: $(SVN_DIR) patched
	cd $(SVN_DIR)/spacenavd && ./configure --prefix=$(CURDIR)/spacenavd
	cd $(SVN_DIR)/spacenavd && make && make install
	cd $(SVN_DIR)/libspnav && ./configure --prefix=$(CURDIR)/libspnav
	mkdir -p libspnav/lib libspnav/lib64 libspnav/include
	cd $(SVN_DIR)/libspnav && make && make install
	touch installed

clean:
	-make -C $(SVN_DIR)/spacenavd clean
	-make -C $(SVN_DIR)/libspnav clean
	-$(RM) -r libspnav spacenavd installed

wipe: clean
	-rm -rf $(SVN_DIR)<commit_msg>Updated to upstream version 4.0 (r91). Removed "make install" for spacenavd to avoid having multiple copies of binaries.<commit_after>all: installed

SVN_DIR = spacenav_svn
SVN_URL = https://spacenav.svn.sourceforge.net/svnroot/spacenav/trunk
SVN_REVISION = -r 91
include $(shell rospack find mk)/svn_checkout.mk

installed: $(SVN_DIR) patched
	cd $(SVN_DIR)/spacenavd && ./configure --prefix=$(CURDIR)/spacenavd
	cd $(SVN_DIR)/spacenavd && make
	#cd $(SVN_DIR)/spacenavd && make && make install
	cd $(SVN_DIR)/libspnav && ./configure --prefix=$(CURDIR)/libspnav
	mkdir -p libspnav/lib libspnav/lib64 libspnav/include
	cd $(SVN_DIR)/libspnav && make && make install
	touch installed

clean:
	-make -C $(SVN_DIR)/spacenavd clean
	-make -C $(SVN_DIR)/libspnav clean
	-$(RM) -r libspnav spacenavd installed

wipe: clean
	-rm -rf $(SVN_DIR)
{'fraction_non_alphanumeric': 0.13977792292619204, 'fraction_numerical': 0.007838014369693011, 'mean_word_length': 4.6531365313653135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '64583', 'n_tokens_mistral': 629, 'n_tokens_neox': 606, 'n_words': 141}