diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-07-23 19:57:45 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-07-23 19:57:45 +0000 |
commit | 7c7a9072e6a82d7fae63a79ccf56cb92ba8a3643 (patch) | |
tree | 57f0aaf3689f095288ccea39b664356fbd4ebc78 /Makefile | |
parent | 28df16660651ffc51f37afe2283fe24e0e53d589 (diff) |
(dist): Include date in snapshot name.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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)) |