aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-03 14:33:43 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-08-03 14:33:43 +0000
commit8a42a0dfcd84ddb5629be22be4cdd62383ad0f79 (patch)
tree953891458bca15c41fc9f3b5c2d78469b26f01da /Makefile.am
parent83ac1f0b402af478f928d068027cadd026e972d0 (diff)
downloadgdbm-8a42a0dfcd84ddb5629be22be4cdd62383ad0f79.tar.gz
gdbm-8a42a0dfcd84ddb5629be22be4cdd62383ad0f79.tar.bz2
(dist-hook): Remove destination file before copying over it.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index e503087..c815a37 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,6 +25,7 @@ endif
SUBDIRS = src doc $(MAYBE_COMPAT) $(MAYBE_EXPORT) tests
dist-hook:
+ rm -f $(distdir)/src/version.c; \
d=`date '+%d/%m/%Y'`; \
sed 's|/\*@DIST_DATE@\*/|"'"$$d"'"|' $(srcdir)/src/version.c > \
$(distdir)/src/version.c

Return to:

Send suggestions and report system problems to the System administrator.