<commit_before>DESTDIR=
VERSION=2.2.0_B1

install:
	install -d $(DESTDIR)/usr/lib/network/connections $(DESTDIR)/etc/network.d/examples \
	            $(DESTDIR)/var/run/network/{interfaces,profiles} \
	            $(DESTDIR)/usr/bin/ $(DESTDIR)/etc/rc.d/ \
				$(DESTDIR)/usr/man/{man5,man8}
	# Documentation
	install -m644 examples/*example $(DESTDIR)/etc/network.d/examples/
	install -m644 src/iftab $(DESTDIR)/etc/iftab
	install -m644 man/*.8 $(DESTDIR)/usr/man/man8
	# Libs
	install -m644 src/{network,wireless,8021x} $(DESTDIR)/usr/lib/network
	install -m755 src/connections/* ${DESTDIR}/usr/lib/network/connections
	# 'Binaries'
	install -m755 src/netcfg $(DESTDIR)/usr/bin/netcfg2
	install -m755 src/netcfg-menu $(DESTDIR)/usr/bin/netcfg-menu
	# Daemons
	install -m755 src/net-profiles src/net-rename $(DESTDIR)/etc/rc.d

install-wireless:
	install -d $(DESTDIR)/usr/lib/network/connections $(DESTDIR)/usr/bin \
				$(DESTDIR)/etc/rc.d
	install -m755 src/wireless-dbus $(DESTDIR)/usr/lib/network/connections
	install -m755 src/netcfg-auto-wireless $(DESTDIR)/usr/bin
	install -m755 src/net-auto $(DESTDIR)/etc/rc.d

tarball: 
	sed -i "s/NETCFG_VER=.*/NETCFG_VER=$(VERSION)/g" src/netcfg
	mkdir -p netcfg-$(VERSION)
	cp -r src src-wireless examples contrib man Makefile LICENSE README netcfg-$(VERSION)
	tar -zcvf netcfg-$(VERSION).tar.gz netcfg-$(VERSION)
	rm -rf netcfg-$(VERSION)


upload: 
	md5sum netcfg-$(VERSION)*gz > MD5SUMS.$(VERSION)
	#scp netcfg-$(VERSION)*gz MD5SUMS.$(VERSION) archlinux.org:/home/ftp/other/netcfg/

clean:<commit_msg>fix man page location<commit_after>DESTDIR=
VERSION=2.2.0_B1

install:
	install -d $(DESTDIR)/usr/lib/network/connections $(DESTDIR)/etc/network.d/examples \
	            $(DESTDIR)/var/run/network/{interfaces,profiles} \
	            $(DESTDIR)/usr/bin/ $(DESTDIR)/etc/rc.d/ \
				$(DESTDIR)/usr/share/man/{man5,man8}
	# Documentation
	install -m644 examples/*example $(DESTDIR)/etc/network.d/examples/
	install -m644 src/iftab $(DESTDIR)/etc/iftab
	install -m644 man/*.8 $(DESTDIR)/usr/share/man/man8
	# Libs
	install -m644 src/{network,wireless,8021x} $(DESTDIR)/usr/lib/network
	install -m755 src/connections/* ${DESTDIR}/usr/lib/network/connections
	# 'Binaries'
	install -m755 src/netcfg $(DESTDIR)/usr/bin/netcfg2
	install -m755 src/netcfg-menu $(DESTDIR)/usr/bin/netcfg-menu
	# Daemons
	install -m755 src/net-profiles src/net-rename $(DESTDIR)/etc/rc.d

install-wireless:
	install -d $(DESTDIR)/usr/lib/network/connections $(DESTDIR)/usr/bin \
				$(DESTDIR)/etc/rc.d
	install -m755 src/wireless-dbus $(DESTDIR)/usr/lib/network/connections
	install -m755 src/netcfg-auto-wireless $(DESTDIR)/usr/bin
	install -m755 src/net-auto $(DESTDIR)/etc/rc.d

tarball: 
	sed -i "s/NETCFG_VER=.*/NETCFG_VER=$(VERSION)/g" src/netcfg
	mkdir -p netcfg-$(VERSION)
	cp -r src src-wireless examples contrib man Makefile LICENSE README netcfg-$(VERSION)
	tar -zcvf netcfg-$(VERSION).tar.gz netcfg-$(VERSION)
	rm -rf netcfg-$(VERSION)


upload: 
	md5sum netcfg-$(VERSION)*gz > MD5SUMS.$(VERSION)
	#scp netcfg-$(VERSION)*gz MD5SUMS.$(VERSION) archlinux.org:/home/ftp/other/netcfg/

clean:
{'fraction_non_alphanumeric': 0.170076726342711, 'fraction_numerical': 0.03132992327365729, 'mean_word_length': 3.982484076433121, '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': '2778323', 'n_tokens_mistral': 1306, 'n_tokens_neox': 1215, 'n_words': 204}