]> granicus.if.org Git - postgresql-autodoc/commitdiff
Seems tar on FreeBSD has changed behaviour since the last release. Copy files to...
authorrbt <rbt>
Fri, 1 May 2009 02:31:10 +0000 (02:31 +0000)
committerrbt <rbt>
Fri, 1 May 2009 02:31:10 +0000 (02:31 +0000)
ChangeLog
Makefile

index c00bb3507d281e5edb7e9dcef6aabf561487d154..61a4931fe2b0fe185e667b9f20d7ce07bd102cdd 100644 (file)
--- 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
index c446eea4d2fafe99a8c6500501bd3180a9c11302..f67043dcedbafc6e727b4eaa9dadf09f01b9abcf 100644 (file)
--- 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