diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-03 14:33:43 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-03 14:33:43 +0000 |
commit | 8a42a0dfcd84ddb5629be22be4cdd62383ad0f79 (patch) | |
tree | 953891458bca15c41fc9f3b5c2d78469b26f01da /Makefile.am | |
parent | 83ac1f0b402af478f928d068027cadd026e972d0 (diff) | |
download | gdbm-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.am | 1 |
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 |