automake
[Top][All Lists]
Advanced

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

Re: `docdir' is undefined error message


From: Ralf Wildenhues
Subject: Re: `docdir' is undefined error message
Date: Mon, 26 Nov 2007 07:09:42 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Oleg,

* Oleg V. Zhylin wrote on Mon, Nov 26, 2007 at 01:04:15AM CET:
> 
>   I'm using automake 1.9.6. Line in my yet simple Makefile.am 
> 
> dist_doc_DATA = README
> 
>   triggers error message 
> 
> Makefile.am:2: `dist_doc_DATA' is used but `docdir' is undefined

Use Automake 1.10, its manual contains this chapter:

>   '2.2.3 Standard Directory Variables' in Automake manual says that
> docdir's default value is
> 
> docdir        ${datarootdir}/doc/${PACKAGE}

For Automake 1.10, you will also need Autoconf 2.60+.  It's actually the
latter that defines docdir.

Anyway, for 1.9.6 you can workaround by adding
  docdir = ${datadir}/doc/${PACKAGE}

to Makefile.am.

Cheers,
Ralf




reply via email to

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