summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-23 19:57:45 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-23 19:57:45 +0000
commit7c7a9072e6a82d7fae63a79ccf56cb92ba8a3643 (patch)
tree57f0aaf3689f095288ccea39b664356fbd4ebc78
parent28df16660651ffc51f37afe2283fe24e0e53d589 (diff)
(dist): Include date in snapshot name.
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9455b991..4cb0bbc8 100644
--- a/Makefile
+++ b/Makefile
@@ -58,9 +58,11 @@ all: $(addsuffix -all,$(lib-subdirs) $(working-prog-subdirs))
hurd-snap:
mkdir hurd-snap
+date:=$(shell date +%y%m%d)
dist: hurd-snap $(addsuffix -lndist,$(filter-out $(subdirs-nodist), $(subdirs))) lndist
- tar cfz hurd-snap.tar.gz hurd-snap
- rm -rf hurd-snap
+ mv hurd-snap hurd-snap-$(date)
+ tar cfz hurd-snap-$(date).tar.gz hurd-snap-$(date)
+ rm -rf hurd-snap-$(date)
clean: $(addsuffix -clean,$(lib-subdirs)) $(addsuffix -clean,$(working-prog-subdirs))