bug-cgicc
[Top][All Lists]
Advanced

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

[bug-cgicc] documentation installed in wrong directory


From: Bruno Haible
Subject: [bug-cgicc] documentation installed in wrong directory
Date: Wed, 6 Aug 2008 11:15:24 +0200
User-agent: KMail/1.5.4

Hi,

I installed cgicc-3.2.7 using the commands
  ./configure --prefix=/packages/gnu
  make
  make install
and the documentation was installed in directory /packages/gnu/doc/cgicc-3.2.7.
This location for documentation is deprecated for years: both the GNU standards
  http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
and the FHS (Filesystem Hierarchy Standard)
  http://www.pathname.com/fhs/
specify that it should go under /packages/gnu/share/doc/.

The fix is as follows. Using @docdir@ not only causes the doc to be installed
under $prefix/share/doc/, it also takes into account the --docdir
option that the user may have provided at configuration time.

--- doc/Makefile.am.bak 2008-07-06 17:27:18.000000000 +0200
+++ doc/Makefile.am     2008-08-06 11:11:19.000000000 +0200
@@ -2,7 +2,7 @@
 
 CLEANFILES = *~ stamp
 
-docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION)
+docdir = @docdir@/$(PACKAGE)-$(VERSION)
 
 FILES = index.tmpl license.tmpl lists.tmpl bugs.tmpl demos.tmpl                
\
 cgi-overview.tmpl tutorial.tmpl lib-overview.tmpl COPYING COPYING.LIB  \





reply via email to

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