On 11/13/18 05:41 AM, Julien Cristau wrote:
LGTM.  Thanks Alan!

Thanks to you, Peter, & Ray for reviews.   I merged this, and thought
"Okay, time to cut a new release."  And then I found the mistake.

automake automatically includes a file named "README" in the tarball.
It does not include a file named "README.md".

So, we seem to have two choices:

1) Ship with README.md:
        Just add "EXTRA_DIST = README.md" to Makefile.am in every component.
.
2) Ship with README:
   Follow our pattern with Changelog & INSTALL files and add a macro
   to xorg-macros.m4 to define a makefile macro such as:
        README_CMD = cp -f $(top_srcdir)/README.md $(top_srcdir)/README
   and in Makefile.am in every component:

+README:
+       $(README_CMD)
+
-dist-hook: ChangeLog INSTALL
+dist-hook: ChangeLog INSTALL README


Anyone have a preference?   Shipping README.md seems easier - will it cause
problems for any distros or packagers?

--
        -Alan Coopersmith-               [email protected]
         Oracle Solaris Engineering - https://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to