Makefile
author Davor Ocelic <docelic@crystallabs.io>
Sun, 28 Apr 2019 23:42:27 +0200
changeset 104 b60189929c4b
parent 89 aa4172c204d4
permissions -rw-r--r--
Streamline %cmd_map %cmd_map was previously a hash containing: { real_function => alias_function, ... } Now the structure of the hash is: { alias_or_real_func => [ real_func/if_any, autocompleter_func ], ... } This allows for a more streamlined definition of commands and aliases, and makes it possible to keep all data in %cmd_map instead of having additional special cases.


VERSION := $(shell awk '/VERSION =/ { print $$4 }' shelldap | sed -e "s/[';]//g")

release:
	@mkdir shelldap-${VERSION}
	@cp shelldap shelldap-${VERSION}
	@pod2text shelldap > shelldap-${VERSION}/USAGE
	@tar -czvf shelldap-${VERSION}.tar.gz shelldap-${VERSION}
	@rm -rf shelldap-${VERSION}