<commit_before>BASEDIR := ../..
PREFIX  := usr
BINDIR  := $(PREFIX)/bin
DATADIR := $(PREFIX)/share
MANDIR  := $(DATADIR)/man
HEADER  := $(BASEDIR)/gmqcc.h
MAJOR   := `sed -n -e '/GMQCC_VERSION_MAJOR/{s/.* .* //;p;q;}' $(HEADER)`
MINOR   := `sed -n -e '/GMQCC_VERSION_MINOR/{s/.* .* //;p;q;}' $(HEADER)`
PATCH   := `sed -n -e '/GMQCC_VERSION_PATCH/{s/.* .* //;p;q;}' $(HEADER)`
DEBDIR  := gmqcc-$(MAJOR).$(MINOR).$(PATCH)
DEB     := $(DEBDIR).deb

base:
	$(MAKE) -C $(BASEDIR) DESTDIR=distro/deb/$(DEBDIR)/ PREFIX=$(PREFIX) install
	@install -d -m755 $(DEBDIR)/DEBIAN
	@cp       control $(DEBDIR)/DEBIAN/

	@tar czf data.tar.gz $(DEBDIR)/[a-z]*
	@tar czf control.tar.gz $(DEBDIR)/DEBIAN/*
	@echo 2.0 > debian-binary
	@ar r $(DEB) debian-binary control.tar.gz data.tar.gz
	@rm -rf $(DEBDIR) debian-binary control.tar.gz data.tar.gz

clean:
	@rm $(DEB)


all: base<commit_msg>-f to supress error if file doesn't exist for rm clean target<commit_after>BASEDIR := ../..
PREFIX  := usr
BINDIR  := $(PREFIX)/bin
DATADIR := $(PREFIX)/share
MANDIR  := $(DATADIR)/man
HEADER  := $(BASEDIR)/gmqcc.h
MAJOR   := `sed -n -e '/GMQCC_VERSION_MAJOR/{s/.* .* //;p;q;}' $(HEADER)`
MINOR   := `sed -n -e '/GMQCC_VERSION_MINOR/{s/.* .* //;p;q;}' $(HEADER)`
PATCH   := `sed -n -e '/GMQCC_VERSION_PATCH/{s/.* .* //;p;q;}' $(HEADER)`
DEBDIR  := gmqcc-$(MAJOR).$(MINOR).$(PATCH)
DEB     := $(DEBDIR).deb

base:
	$(MAKE) -C $(BASEDIR) DESTDIR=distro/deb/$(DEBDIR)/ PREFIX=$(PREFIX) install
	@install -d -m755 $(DEBDIR)/DEBIAN
	@cp       control $(DEBDIR)/DEBIAN/
	@tar czf data.tar.gz $(DEBDIR)/[a-z]*
	@tar czf control.tar.gz $(DEBDIR)/DEBIAN/*
	@echo 2.0 > debian-binary
	@ar r $(DEB) debian-binary control.tar.gz data.tar.gz
	@rm -rf $(DEBDIR) debian-binary control.tar.gz data.tar.gz

clean:
	@rm -f $(DEB)


all: base
{'fraction_non_alphanumeric': 0.2388641425389755, 'fraction_numerical': 0.005567928730512249, 'mean_word_length': 3.3616504854368934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1414002', 'n_tokens_mistral': 823, 'n_tokens_neox': 805, 'n_words': 167}