[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Choosing not to install documentation
From: |
Ralf Wildenhues |
Subject: |
Re: Choosing not to install documentation |
Date: |
Sat, 27 Jun 2009 13:53:49 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-15) |
* Kirk Strauser wrote on Fri, Jun 26, 2009 at 05:09:10PM CEST:
> > if INSTALLDOCS
> > MAYBEDOCS = doc
> > dist_doc_DATA = README
> > else
> > docdir =
> > endif
> > SUBDIRS = src $(MAYBEDOCS)
> >
> >(untested).
>
> Yielding:
>
> Makefile.am:5: docdir was already defined in condition TRUE, which
> includes condition !INSTALLDOCS ...
> configure.ac:5: ... `docdir' previously defined here
> make: *** [Makefile.in] Error 1
Ah, sorry about that. You can add
docdir = @docdir@
either before the conditional, or in the if-true branch.
Of course 'automake -Wall' without -Wno-override will warn
about this.
Cheers,
Ralf
- Choosing not to install documentation, Kirk Strauser, 2009/06/25
- Re: Choosing not to install documentation, Alfred M. Szmidt, 2009/06/25
- Re: Choosing not to install documentation, Ralf Wildenhues, 2009/06/25
- Re: Choosing not to install documentation, Alfred M. Szmidt, 2009/06/26
- Re: Choosing not to install documentation, Kirk Strauser, 2009/06/26
- Re: Choosing not to install documentation, Alfred M. Szmidt, 2009/06/26
- Re: Choosing not to install documentation, Eric Blake, 2009/06/26
- Re: Choosing not to install documentation, Kirk Strauser, 2009/06/26
- Re: Choosing not to install documentation, Alfred M. Szmidt, 2009/06/26
- Re: Choosing not to install documentation,
Ralf Wildenhues <=
- Re: Choosing not to install documentation, Steffen Dettmer, 2009/06/26
- Re: Choosing not to install documentation, Ralf Wildenhues, 2009/06/27
Re: Choosing not to install documentation, Kirk Strauser, 2009/06/26