pull up r19829 from trunk
authorTom Yu <tlyu@mit.edu>
Tue, 18 Sep 2007 03:38:17 +0000 (03:38 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 18 Sep 2007 03:38:17 +0000 (03:38 +0000)
 r19829@cathode-dark-space:  raeburn | 2007-08-16 11:09:58 -0400
 ticket: 5617

 Only do fake-install in pkinit if building pkinit.

ticket: 5617

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19945 dc483132-0cff-0310-8789-dd5450dbe970

src/Makefile.in

index ce37a78b1ad5340f89db202e97030989f3a84f66..055fb5d8b7d61165046a53fd237180bcea2b6790 100644 (file)
@@ -101,7 +101,9 @@ fake-install:
        (w=`pwd`; cd util && $(MAKE) install DESTDIR="$$w/util/fakedest")
        (w=`pwd`; cd lib && $(MAKE) install DESTDIR="$$w/util/fakedest")
        (w=`pwd`; cd plugins/kdb/db2 && $(MAKE) install DESTDIR="$$w/util/fakedest")
-       (w=`pwd`; cd plugins/preauth/pkinit && $(MAKE) install DESTDIR="$$w/util/fakedest")
+       if test -r plugins/preauth/pkinit/Makefile; then \
+         (w=`pwd`; cd plugins/preauth/pkinit && $(MAKE) install DESTDIR="$$w/util/fakedest"); \
+       fi
 
 #      (w=`pwd`; cd plugins/locate/python && $(MAKE) install DESTDIR="$$w/util/fakedest")