coreutils
[Top][All Lists]
Advanced

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

pkglib_PROGRAMS is now rejected


From: Jim Meyering
Subject: pkglib_PROGRAMS is now rejected
Date: Sun, 19 Jun 2011 12:52:39 +0200

I normally use automake built from the head of "master",
but not long ago, it started failing like this:

    src/Makefile.am:141: error: `pkglibdir' is not a legitimate directory \
      for `PROGRAMS'

That variable determines where we install libstdbuf.so.

One possibility is to change src/Makefile.am as below,
but that would mean moving libstdbuf.so from
$prefix/lib/coreutils/ to
$prefix/libexec/coreutils/
and adjusting stdbuf.c, and causing distros to adjust.

There's probably a less invasive change...

diff --git a/src/Makefile.am b/src/Makefile.am
index 516e1e5..ef0e7a4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -138,7 +138,7 @@ bin_PROGRAMS = $(OPTIONAL_BIN_PROGS)

 noinst_PROGRAMS = setuidgid getlimits

-pkglib_PROGRAMS = $(OPTIONAL_PKGLIB_PROGS)
+pkglibexec_PROGRAMS = $(OPTIONAL_PKGLIB_PROGS)

 noinst_HEADERS =       \
   chown-core.h         \
--
1.7.6.rc2.4.g36bfb.dirty



reply via email to

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