make install obey $(DESTDIR)
authorTheodore Tso <tytso@mit.edu>
Tue, 4 Oct 1994 01:13:41 +0000 (01:13 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 4 Oct 1994 01:13:41 +0000 (01:13 +0000)
copy config.h and osconf.h from build directory.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4431 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/ChangeLog
src/include/krb5/Makefile.in

index c76a9dc044a9e1c40aa0e53fb3a334355a0c3518..c66d0e5e62dc9c3006fff8dfd21457df56194abf 100644 (file)
@@ -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)
index 7b21a973f4b5cbbc1aeacaf5f8887b1fec929134..2693d7de60728b33365565577b35ab561808a8c5 100644 (file)
@@ -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)+" \