Re: Add support for EXTRA_DIST_LINKS

2021-05-30 Thread madmurphy
*“What can EXTRA_DIST_LINKS achieve that AC_CONFIG_LINKS cannot?”* With AC_CONFIG_LINKS() symlinks are present only in a configured package, but a developer might want that symlinks are present before launching configure, or even before launching the bootstrap script. True about the development s

Re: Add support for EXTRA_DIST_LINKS

2021-05-30 Thread Jacob Bachmeyer
madmurphy wrote: P.S. *“If I remember correctly, Autoconf also falls back to hardlinks or copying the files if the system does not support symbolic links.”*: Same goes for my patch. I use $(LN_S) for creating the links, and that falls back to hardlinks when ln -s is not supported. The differenc

Re: Add support for EXTRA_DIST_LINKS

2021-05-30 Thread madmurphy
P.S. *“If I remember correctly, Autoconf also falls back to hardlinks or copying the files if the system does not support symbolic links.”*: Same goes for my patch. I use $(LN_S) for creating the links, and that falls back to hardlinks when ln -s is not supported. --madmurphy

Re: Add support for EXTRA_DIST_LINKS

2021-05-30 Thread madmurphy
Hi Jacob, Thank you for your reply. I am aware that symlinks and GNU coding standard don't go well together, but I believe that there is a difference between inviting to a standard and force to towards it. I am really convinced that developers should be left free, and a written warning in a manual

Re: Add support for EXTRA_DIST_LINKS

2021-05-30 Thread Jacob Bachmeyer
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 identi

Re: Add support for EXTRA_DIST_LINKS

2021-05-30 Thread madmurphy
I apologize, I had forgotten to write rm -rf "$${LNKPART}", for removing possible existing links. Please find the new patch attached. --madmurphy Il giorno lun 31 mag 2021 alle ore 00:34 madmurphy ha scritto: > Hi there, > > I have created a patch for Automake to support a new Makefile variabl

Add support for EXTRA_DIST_LINKS

2021-05-30 Thread madmurphy
Hi there, 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 t