groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Add --with-doc configuration option


From: Steffen Nurpmeso
Subject: Re: [Groff] Add --with-doc configuration option
Date: Sat, 15 Mar 2014 21:03:59 +0100
User-agent: s-nail v14.6.2-13-g6c3599b

 .. i've taken keithmarshall@ off Cc:, my mail-provider cannot
    deliver to this address

Werner LEMBERG <address@hidden> wrote:
 |>  IMO, "--without-doc" should not apply to the "make dist" goal.
 |
 |Yep.
 |
 |> I also think having a check here and there is not a bad thing.  I'll
 |> add it for my patch.
 |
 |OK.

Ok, i've added a simple blocker for the documentation.

 |> In fact it seems that AC_ARG_WITH doesn't allow to define an
 |> enumeration of allowed arguments, so that this is implied as well
 |> as anything else!
 |
 |Have a look at
 |
 |  http://www.gnu.org/software/autoconf-archive/ax_arg_with_p\
 |  ath_style.html#ax_arg_with_path_style
 |
 |for an example how to do that.

I think what we have should cover the needs, but of course i can
change the patch to use case..esac and globbing instead of exact
matching on request.

Well ok, i'll attach what i have now (because i/and won't be
online until monday), it seems to work well.
Making the examples conditional was painful and i needed to part
the Makefile.sub files pretty much to get that done, just until
a minute before: it would have been much easier to implement
a simple on/off switch.

So please take these as a first draft only.  A couple of questions
are unanswered, you should test wether you like the changed
messages, for example.  And `other' documentation (e.g., `pic.ms')
is yet automatically selected if just any other documentation is
installed.  I'm willing to adjust all this to make it acceptable
for GNU Troff.
Ciao,

 |    Werner

--steffen

Attachment: with-doc-1.diff
Description: Text Data

Attachment: with-doc-2.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]