summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-06-18 20:00:27 +0000
committerMiles Bader <miles@gnu.org>1997-06-18 20:00:27 +0000
commita464f4327086dc4df7343f4ef7c960365ca9cbf6 (patch)
treeaae814e5bff05f03d04f6f7fd771a3346cc9d0d5 /Makefile
parent90b8bb00a9225ae41d16bca9ed56f518cf00432d (diff)
(dist):
Always generate distributes of the form `hurd-${version}.tar.gz'.
Diffstat (limited to 'Makefile')
-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)