Unihistext / Makefile


TMPVERSIONFILE := $(shell echo /tmp/.tmpverfile-`whoami`)

all:: update_version

ADDDEPS := src/version.py src/helpers.py

build/unihistext: src/unihistext src/unihistext.py src/unicode_blocks.py $(ADDDEPS)
all:: build/unihistext
build/uninormalize: src/uninormalize src/uninormalize.py $(ADDDEPS)
all:: build/uninormalize

build/uninormalize build/unihistext:
	mkdir -p `dirname $@`
	./scripts/make-wrapper.sh $^ > $@
	chmod +x $@

update_version: $(TMPVERSIONFILE)
	cmp $(TMPVERSIONFILE) src/version.py -s || mv $(TMPVERSIONFILE) src/version.py

$(TMPVERSIONFILE) src/version.py:
	{ echo "version = \"unknown\""; ./scripts/version-gen.sh | sed -e "s/^.*\$$/version = \"&\"/"; } > $@
#.PHONY: src/version.py

	rm -rf build $(shell find -name '*~' -o -name '*.pyc' -o -name '*.pyo' | grep -v .git ) src/version.py $(TMPVERSIONFILE)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.