summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9afd6771..1aac8f1b 100644
--- a/Makefile
+++ b/Makefile
@@ -69,10 +69,9 @@ all: $(lib-subdirs) $(working-prog-subdirs)
# command line; otherwise the tar file will be a dated snapshot.
ifeq ($(version),)
version:=$(shell date +%y%m%d)
-dirname:=hurd-snap
-else
-dirname:=hurd
endif
+dirname:=hurd
+
dist: $(srcdir)/hurd-snap $(addsuffix -lndist,$(filter-out $(subdirs-nodist), $(subdirs))) lndist
mv $(srcdir)/hurd-snap $(srcdir)/$(dirname)-$(version)
cd $(srcdir); tar cfz $(dirname)-$(version).tar.gz $(dirname)-$(version)