<commit_before>ver=0.3.1
platform=i386
plat=$(shell uname -m)
ifeq ($(plat),x86_64)
platform=amd64
endif
package=libofsystem

basedir=~/ofsystem

include $(HOME)/buildenv/packaging.mak

deps=debian/DEBIAN/control.master

$(target): $(deps)
	test -d debian/usr/lib || mkdir -p debian/usr/lib
	cp $(basedir)/lib/libofsystem.so debian/usr/lib
	strip debian/usr/lib/*.so
	cp debian/DEBIAN/control.master debian/DEBIAN/control
	sed -i -e "s/Architecture: .\+/Architecture: $(platform)/" debian/DEBIAN/control
	sed -i -e "s/Version: .\+/Version: $(ver)/" debian/DEBIAN/control
	find debian -name "*~" -exec rm {} \;
	dpkg-deb --build debian
	mv debian.deb $(target)<commit_msg>Fixed package name discrepancy<commit_after>ver=0.3.1
platform=i386
plat=$(shell uname -m)
ifeq ($(plat),x86_64)
platform=amd64
endif
package=libofsystem

basedir=~/ofsystem

include $(HOME)/buildenv/packaging.mak

deps=debian/DEBIAN/control.master

$(target): $(deps)
	test -d debian/usr/lib || mkdir -p debian/usr/lib
	cp $(basedir)/lib/libofsystem.so debian/usr/lib
	strip debian/usr/lib/*.so
	cp debian/DEBIAN/control.master debian/DEBIAN/control
	sed -i -e "s/Architecture: .\+/Architecture: $(platform)/" debian/DEBIAN/control
	sed -i -e "s/Version: .\+/Version: $(ver)/" debian/DEBIAN/control
	sed -i -e "s/Package: .\+/Package: $(package)/" debian/DEBIAN/control
	find debian -name "*~" -exec rm {} \;
	dpkg-deb --build debian
	mv debian.deb $(target)
{'fraction_non_alphanumeric': 0.17552447552447553, 'fraction_numerical': 0.016783216783216783, 'mean_word_length': 4.241758241758242, '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': '6048192', 'n_tokens_mistral': 599, 'n_tokens_neox': 541, 'n_words': 119}