Hi Serge,<div><br></div><div>I used make distcheck,  but that will be the same wrt gmo.</div><div>I think you should leave them in the tar ball. The intent is/was not to force users to have the msgfmt tool when compiling (this is not specific to shadow). Also the gmo are portable.</div><div><br></div><div>Best regards,</div><div>-- </div><div>Nekral<br><br>On Sunday, September 18, 2016, Serge E. Hallyn <<a href="mailto:serge@hallyn.com">serge@hallyn.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Sep 18, 2016 at 07:14:02PM -0500, Serge E. Hallyn wrote:<br>
> Hey guys,<br>
><br>
> so the *main* thing that has been causing me to give up every time<br>
> I've tried to do a new release has been po/*.  In particular, a<br>
> 'make dist' always makes po/*.gmo re-appear.  Apparently,<br>
><br>
> autogen.sh calls autoreconf which calls autopoint, which creates<br>
> m4/po.m4, which creates po/<a href="http://Makefile.in.in" target="_blank">Makefile.in.in</a>, which creates a makefile<br>
> which ends up calling<br>
><br>
>          cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo<br>
><br>
> etc.  The *.gmo files are binary ones, which we don't want to be<br>
> shipping iiuc.  So - what is an ignorant packager to do?  It seems<br>
> like there must be an obvious flag to add to autoreconf in autogen.sh,<br>
> but I can't find it.<br>
><br>
> Should the 'make dist' target be updated to rm po/*.gmo before<br>
> generating the tarball?<br>
><br>
> -serge<br>
<br>
FWIW adding<br>
<br>
+dist-hook:<br>
+       rm -f $(distdir)/po/*.gmo<br>
<br>
to Makefile.am seems to work.  But is there a better way?<br>
</blockquote></div>