From: rbt Date: Fri, 1 May 2009 02:31:10 +0000 (+0000) Subject: Seems tar on FreeBSD has changed behaviour since the last release. Copy files to... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=129615f5bf444cbc9138e49b0b7476ab0b0e9f06;p=postgresql-autodoc Seems tar on FreeBSD has changed behaviour since the last release. Copy files to new location and build tarball out of that directory. --- diff --git a/ChangeLog b/ChangeLog index c00bb35..61a4931 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-04-30 22:14 rbt + + * ChangeLog, Makefile: Really fix the release process. + +2009-04-30 22:13 rbt + + * postgresql_autodoc.pl: Tag for 1.40 + 2009-04-30 22:11 rbt * ChangeLog: Another crack at 1.40 diff --git a/Makefile b/Makefile index c446eea..f67043d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Header: /cvsroot/autodoc/autodoc/Makefile,v 1.6 2009/05/01 02:14:29 rbt Exp $ +# $Header: /cvsroot/autodoc/autodoc/Makefile,v 1.7 2009/05/01 02:31:10 rbt Exp $ # install configuration DESTDIR = @@ -6,11 +6,13 @@ PREFIX = /usr/local BINDIR = ${PREFIX}/bin DATADIR = ${PREFIX}/share/postgresql_autodoc + # build configuration TEMPLATES = dia.tmpl dot.tmpl html.tmpl neato.tmpl xml.tmpl zigzag.dia.tmpl BINARY = postgresql_autodoc SOURCE = ${BINARY}.pl -RELEASE_FILES = ${SOURCE} ${TEMPLATES} +RELEASE_FILES = Makefile ChangeLog ${SOURCE} ${TEMPLATES} +RELEASE_DIR=postgresql_autodoc # system tools INSTALL_SCRIPT = $$(which install) -c @@ -54,7 +56,7 @@ release: clean ${RELEASE_FILES} fi cvs2cl -cvs commit - dir=`pwd` && cd .. && tar -czvf postgresql_autodoc-${VERSION}.tar.gz \ - -C $${dir} ${RELEASE_FILES} + mkdir ${RELEASE_DIR} && cp ${RELEASE_FILES} ${RELEASE_DIR} && tar -czvf ${RELEASE_DIR}-${VERSION}.tar.gz ${RELEASE_DIR} + rm -r ${RELEASE_DIR} .PHONY: install uninstall clean release