summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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))