Makefile
author Peter Marschall <peter@adpm.de>
Sat, 05 Mar 2011 20:19:18 +0100
changeset 24 3a8ae9117981
parent 13 d7975e514b2a
child 47 bf9d6fa1b1d4
permissions -rw-r--r--
cd: flexible treatment of repeated '..', even as prefix Treat '..' as any shell does: - while the path given starts with '..', strip away the first element of the current base DN - use ',' as separator - if anything remains in thep ath given, prepend it to the stripped down baseDN - use the result as the new base DN
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
d7975e514b2a Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     2
VERSION := $(shell awk '/VERSION/ { print $$4 }' shelldap | sed -e "s/[';]//g")
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}
d7975e514b2a Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     7
	@hg log --style=changelog > shelldap-${VERSION}/ChangeLog
d7975e514b2a Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     8
	@pod2text shelldap > shelldap-${VERSION}/README
d7975e514b2a Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     9
	@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
    10
	@rm -rf shelldap-${VERSION}