]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
writable-file: Use release-archive-dir, and be sure it exists.
authorAkim Demaille <akim@epita.fr>
Tue, 26 Jun 2001 12:52:17 +0000 (12:52 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 26 Jun 2001 12:52:17 +0000 (12:52 +0000)
Makefile.maint

index 4ccea2b1ddf13f475b7d33348296d8f61182ddb9..ecf1af238c256892579cee5ca61092eab8cb5e3f 100644 (file)
@@ -143,8 +143,12 @@ announcement: NEWS ChangeLog $(distdir).tar.gz
        )
 
 writable-files:
+       if test -d $(release-archive-dir); then :; else                 \
+         mkdir $(release-archive-dir);                                 \
+       fi
        for file in $(distdir).tar.gz $(xd-delta)                       \
-         ../release/$(distdir).tar.gz ../release/$(xd-delta); do       \
+                   $(release-archive-dir)/$(distdir).tar.gz            \
+                   $(release-archive-dir)/$(xd-delta); do              \
          test -e $$file || continue;                                   \
          test -w $$file                                                \
            || { echo ERROR: $$file is not writable; fail=1; };         \