Makefile
author Davor Ocelic <docelic@crystallabs.io>
Sun, 28 Apr 2019 21:40:06 +0200
changeset 101 cb4de2ecc7ab
parent 89 aa4172c204d4
permissions -rw-r--r--
Allow default attributes to be set via config and cmdline This commit changes the default attribute list from a fixed '*' to a configurable list, defaulting to ['*']. It allows one to use config file or command line to set default attributes to retrieve and display - i.e. to set default attributes to '+' or to a list of multiple specific attributes. Printing or changing this value through env/setenv is currently not supported because env/setenv only work properly with string values while attributes is a list.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13
d7975e514b2a Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     1
47
bf9d6fa1b1d4 Fix the gmake variable that snags the current version number.
Mahlon E. Smith <mahlon@martini.nu>
parents: 13
diff changeset
     2
VERSION := $(shell awk '/VERSION =/ { print $$4 }' shelldap | sed -e "s/[';]//g")
13
d7975e514b2a Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     3
d7975e514b2a Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     4
release:
d7975e514b2a Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     5
	@mkdir shelldap-${VERSION}
d7975e514b2a Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     6
	@cp shelldap shelldap-${VERSION}
89
aa4172c204d4 Add a "real" change log.
Mahlon E. Smith <mahlon@martini.nu>
parents: 47
diff changeset
     7
	@pod2text shelldap > shelldap-${VERSION}/USAGE
13
d7975e514b2a Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     8
	@tar -czvf shelldap-${VERSION}.tar.gz shelldap-${VERSION}
d7975e514b2a Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     9
	@rm -rf shelldap-${VERSION}