automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add support for EXTRA_DIST_LINKS


From: Jacob Bachmeyer
Subject: Re: Add support for EXTRA_DIST_LINKS
Date: Sun, 30 May 2021 19:52:43 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0

madmurphy wrote:
I have created a patch for Automake to support a new Makefile variable
named EXTRA_DIST_LINKS. The purpose of the variable is that of creating
symlinks for the distributed archive.

The syntax is very simple: a space-separated list of tokens of the form
DEST:SOURCE – it is identical to that of AC_CONFIG_LINKS(dest:source ...)
in the configure.ac file.

The GNU coding standards specifically say not to do this:
"Don’t include any symbolic links in the distribution itself. If the tar file contains symbolic links, then people cannot even unpack it on systems that don’t support symbolic links. Also, don’t use multiple names for one file in different directories, because certain file systems cannot handle this and that prevents unpacking the distribution." (section 7.3 "Making Releases")

AC_CONFIG_LINKS makes the links when configure is run, after the distribution has been unpacked. If I remember correctly, Autoconf also falls back to hardlinks or copying the files if the system does not support symbolic links.


-- Jacob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]