<commit_before>PREFIX ?= /usr/local

shellcheck:
	shellcheck i-doit.sh
	shellcheck idoit
	shellcheck idoit-backup
	shellcheck idoit-hotfix
	shellcheck idoit-install
	shellcheck idoit-jobs
	shellcheck idoit-pwd
	shellcheck idoit-restore
	shellcheck idoit-support

deb:
	fpm -s dir -t deb \
	--name idoit-scripts \
	--version 0.10 \
	--architecture all \
	--license AGPLv3+ \
	--maintainer "<NAME> <<EMAIL>>" \
	--vendor "synetics GmbH <<EMAIL>>" \
	--description "Useful scripts to maintain i-doit" \
	--url "https://github.com/bheisig/i-doit-scripts" \
	--deb-no-default-config-files \
	--deb-changelog CHANGELOG.md \
	--no-depends \
	--deb-priority optional \
	i-doit.sh=/etc/i-doit/ \
	idoit=/usr/bin/ \
	idoit-backup=/usr/bin \
	idoit-hotfix=/usr/bin \
	idoit-install=/usr/bin \
	idoit-jobs=/usr/bin \
	idoit-pwd=/usr/bin \
	idoit-restore=/usr/bin

lintian:
	lintian *.deb

install:
	install idoit* $(PREFIX)/bin/

uninstall:
	rm -f $(PREFIX)/bin/idoit*

clean:
	rm -f *.deb<commit_msg>Install and uninstall configuration file as well<commit_after>PREFIX ?= /usr/local

shellcheck:
	shellcheck i-doit.sh
	shellcheck idoit
	shellcheck idoit-backup
	shellcheck idoit-hotfix
	shellcheck idoit-install
	shellcheck idoit-jobs
	shellcheck idoit-pwd
	shellcheck idoit-restore
	shellcheck idoit-support

deb:
	fpm -s dir -t deb \
	--name idoit-scripts \
	--version 0.10 \
	--architecture all \
	--license AGPLv3+ \
	--maintainer "<NAME> <<EMAIL>>" \
	--vendor "synetics GmbH <<EMAIL>>" \
	--description "Useful scripts to maintain i-doit" \
	--url "https://github.com/bheisig/i-doit-scripts" \
	--deb-no-default-config-files \
	--deb-changelog CHANGELOG.md \
	--no-depends \
	--deb-priority optional \
	i-doit.sh=/etc/i-doit/ \
	idoit=/usr/bin/ \
	idoit-backup=/usr/bin \
	idoit-hotfix=/usr/bin \
	idoit-install=/usr/bin \
	idoit-jobs=/usr/bin \
	idoit-pwd=/usr/bin \
	idoit-restore=/usr/bin

lintian:
	lintian *.deb

install:
	install idoit* $(PREFIX)/bin/
	mkdir -p /etc/i-doit
	install i-doit.sh /etc/i-doit

uninstall:
	rm -f $(PREFIX)/bin/idoit*
	rm -rf /etc/i-doit/

clean:
	rm -f *.deb
{'fraction_non_alphanumeric': 0.15908001916626738, 'fraction_numerical': 0.003833253473885961, 'mean_word_length': 2.9322033898305087, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3411374', 'n_tokens_mistral': 926, 'n_tokens_neox': 856, 'n_words': 172}