Re: Rarely rebuilt files

2014-11-11 Thread Simon Richter
Hi, On 11.11.2014 22:02, fr33domlover wrote: >> If they are distributed, the distcheck target should not complain, >> because it should expect the files to be there. > The files are not specified in any variable with 'dist_' prefix. They are > distributed because I wrote a dist-hook. Normally I

Re: Rarely rebuilt files

2014-11-11 Thread fr33domlover
On 2014-11-11 Simon Richter wrote: > Hi, > > On 11.11.2014 21:07, fr33domlover wrote: > > >> When the files are distributed, the "distcheck" should recognize that > >> these belong in the source package, and not show an error. > > > Hmmm I think I didn't make myself clear. So just to make sure

Re: Rarely rebuilt files

2014-11-11 Thread Simon Richter
Hi, On 11.11.2014 21:07, fr33domlover wrote: >> When the files are distributed, the "distcheck" should recognize that >> these belong in the source package, and not show an error. > Hmmm I think I didn't make myself clear. So just to make sure, before I cause > confusion: The files are indeed di

Re: Rarely rebuilt files

2014-11-11 Thread fr33domlover
On 2014-11-11 Simon Richter wrote: > Hi, > > On 11.11.2014 18:50, fr33domlover wrote: > > > When I ran `make distcheck`, it failed because the HTML files don't get > > cleaned by `make distclean`. That makes sense, but specifically for my > > package this is not an error. > > If you assume tha

Re: Portable Use of Variables

2014-11-11 Thread Eric Blake
On 11/11/2014 10:59 AM, fr33domlover wrote: >>> The first form of expansion on that page, $(var:.a=.b), should be OK. >>> They are standard in POSIX and work on all make implementations that I >>> know of. >>> >>> The version with % characters is not portable. >> >> That said, POSIX is hoping to s

Re: Rarely rebuilt files

2014-11-11 Thread Simon Richter
Hi, On 11.11.2014 18:50, fr33domlover wrote: > When I ran `make distcheck`, it failed because the HTML files don't get > cleaned > by `make distclean`. That makes sense, but specifically for my package this is > not an error. If you assume that few people build these files, they should be distr

Re: Portable Use of Variables

2014-11-11 Thread fr33domlover
On 2014-10-27 Eric Blake wrote: > On 10/27/2014 11:11 AM, Nick Bowler wrote: > > On 2014-10-26 22:15 +0200, fr33domlover wrote: > >> I'm a bit confused about all the expressive features and ways to use > >> makefile variables, so just to be sure - > >> > >> http://www.gnu.org/software/make/manual

Rarely rebuilt files

2014-11-11 Thread fr33domlover
Hello, I have a package with code and a reference manual. The manual is rarely rebuilt and requires several less usual tools (dot, doxygen, etc.) so I decided to put the generated HTML files in MAINTAINERCLEANFILES and not DISTCLEANFILES. When I ran `make distcheck`, it failed because the HTML fi