Makefile
author Davor Ocelic <docelic@crystallabs.io>
Sun, 05 May 2019 10:51:34 +0200
changeset 117 eb1bcbaf9763
parent 89 aa4172c204d4
permissions -rw-r--r--
Improve accepted command line options This commit enables getopt case sensitivity and adds all command line options/abbreviations typically supported by LDAP clients: -w/-y, -p, -x, -Z/-ZZ, -v


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}