bug-gnu-utils
[Top][All Lists]
Advanced

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

grep honors DESTDIR in some subdirs, but not all


From: Nick Moffitt
Subject: grep honors DESTDIR in some subdirs, but not all
Date: Mon, 1 Apr 2002 11:13:03 -0800
User-agent: Mutt/1.3.28i

the intl/ subdir of the grep source tree contains a Makefile.in that
does the following:

install-exec: all
        if test "$(PACKAGE)" = "gettext" \
           && test '@INTLOBJS@' = '$(GETTOBJS)'; then \
          if test -r $(MKINSTALLDIRS); then \
            $(MKINSTALLDIRS) $(libdir) $(includedir); \
          else \
            $(top_srcdir)/mkinstalldirs $(libdir) $(includedir); \
          fi; \
          $(INSTALL_DATA) intlh.inst $(includedir)/libintl.h; \
          $(INSTALL_DATA) libintl.a $(libdir)/libintl.a; \
        else \
          : ; \
        fi

All of the rest of the system honors DESTDIR, because it used
automake.  Thus, when I do a "make DESTDIR=/tmp/gar install", the
installation errors out.  Some of the subdirs would behave properly
(src comes to mind), but this dir tries to put things in the wrong
place.  Please either switch to automake for this dir or prefix your
$(libdir)s and $(includedirs) with $(DESTDIR).

-- 
INFORMATION GLADLY GIVEN BUT SAFETY REQUIRES AVOIDING UNNECESSARY CONVERSATION
end 
        01234567 <- The amazing* indent-o-meter! 
        ^           (*: Indent-o-meter may not actually amaze.)



reply via email to

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