From: Theodore Tso Date: Tue, 4 Oct 1994 01:13:41 +0000 (+0000) Subject: make install obey $(DESTDIR) X-Git-Tag: krb5-1.0-beta4.3~28 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a7310149846235c92735e332f325570992afd47f;p=krb5.git make install obey $(DESTDIR) copy config.h and osconf.h from build directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4431 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index c76a9dc04..c66d0e5e6 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,5 +1,8 @@ Mon Oct 3 18:45:55 1994 Theodore Y. Ts'o (tytso@dcl) + * Makefile.in: Fix install to obey ${DESTDIR}, copy conf.h and + osconf.h from build tree. + * Makefile.in: Fix "make install" to use $(srcdir) for header files. Thu Sep 29 15:07:30 1994 Theodore Y. Ts'o (tytso@dcl) diff --git a/src/include/krb5/Makefile.in b/src/include/krb5/Makefile.in index 7b21a973f..2693d7de6 100644 --- a/src/include/krb5/Makefile.in +++ b/src/include/krb5/Makefile.in @@ -29,9 +29,10 @@ KRB5ROOT = @KRB5ROOT@ KRB5_INCDIR = $(KRB5ROOT)/include install:: $(KRB5_HEADERS) config.h osconf.h autoconf.h - @set -x; for f in $(KRB5_HEADERS) config.h osconf.h ; \ - do cp $(srcdir)/$$f $(KRB5_INCDIR)/krb5/$$f ; \ + @set -x; for f in $(KRB5_HEADERS) ; \ + do cp $(srcdir)/$$f $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f ; \ done + cp config.h osconf.h $(DESTDIR)$(KRB5_INCDIR)/krb5/$$f PROCESS_REPLACE = -e "s+@KRB5ROOT+$(KRB5ROOT)+" \ -e "s+@KDB5DIR+$(KDB5DIR)+" \