<commit_before>clean:
	rm -f *~ core man3/*~

install: install-man install-doc

install-man:
	@echo "Man pages (MANDIR) being installed in: \"$(MANDIR)\""; 
	-mkdir -p $(MANDIR)/man3
	-chmod go+rx $(MANDIR)/man3
	-cp man3/PAPI*.3 $(MANDIR)/man3
	-chmod go+r $(MANDIR)/man3/PAPI*.3
	-mkdir -p $(MANDIR)/man1
	-chmod go+rx $(MANDIR)/man1
	-cp man1/*.1 $(MANDIR)/man1
	-chmod go+r $(MANDIR)/man1/*.1

install-doc:
	@echo "Docs (DOCDIR) being installed in: \"$(DOCDIR)\""; 
	-mkdir -p $(DOCDIR)/html
	-chmod go+rx $(DOCDIR)
	-cp ../*.txt ../*.html ../doc/PAPI_*.doc ../doc/PAPI_*.pdf ../doc/*.html ../doc/*.gif $(DOCDIR)
	-chmod go+r $(DOCDIR)/*
	-cp ./html/*.html $(DOCDIR)/html
	-chmod go+r $(DOCDIR)/html/*
<commit_msg>make now does a make install instead of a make clean by default<commit_after>install: clean install-man install-doc

install-man:
	@echo "Man pages (MANDIR) being installed in: \"$(MANDIR)\""; 
	-mkdir -p $(MANDIR)/man3
	-chmod go+rx $(MANDIR)/man3
	-cp man3/PAPI*.3 $(MANDIR)/man3
	-chmod go+r $(MANDIR)/man3/PAPI*.3
	-mkdir -p $(MANDIR)/man1
	-chmod go+rx $(MANDIR)/man1
	-cp man1/*.1 $(MANDIR)/man1
	-chmod go+r $(MANDIR)/man1/*.1

install-doc:
	@echo "Docs (DOCDIR) being installed in: \"$(DOCDIR)\""; 
	-mkdir -p $(DOCDIR)/html
	-chmod go+rx $(DOCDIR)
	-cp ../*.txt ../*.html ../doc/PAPI_*.doc ../doc/PAPI_*.pdf ../doc/*.html ../doc/*.gif $(DOCDIR)
	-chmod go+r $(DOCDIR)/*
	-cp ./html/*.html $(DOCDIR)/html
	-chmod go+r $(DOCDIR)/html/*

clean:
	rm -f *~ core man3/*~
	rm -f *~ core man1/*~
{'fraction_non_alphanumeric': 0.23778071334214002, 'fraction_numerical': 0.02047556142668428, 'mean_word_length': 3.08355795148248, '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': '447602', 'n_tokens_mistral': 689, 'n_tokens_neox': 670, 'n_words': 161}