This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support --with-pkgversion and --with-bugurl


> The change is needed because the "For bug reporting instructions, please 
> see" part should be internationalized, but the actual URL depends on 
> --with-pkgversion - using string concatenation to insert REPORT_BUGS_TO 
> here would break internationalization (since translations are of constant 
> strings, not strings containing bits depending on configure options), 
> hence the move to the approach used by the other argp-using programs which 
> allows REPORT_BUGS_TO to be inserted at runtime using asprintf with the 
> translated format string.

I see.

> Will a dependency on $(common-objpfx)manual/pkgvers.texi work as-is in the 
> toplevel Makefile where the INSTALL rule is, or is something extra needed 
> for that to use manual/Makefile to build the file if it doesn't already 
> exist?

It won't quite work.  The manual/dir-add.{texi,info} targets and the
manual/% pattern rule right below the INSTALL target were intended to cover
such things.  But those are now bit rot from the time we had things
changing in source directories.  So those should be replaced by:

$(common-objpfx)manual/%: FORCE

with the same commands, or something like that.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]