Only do fake-install in pkinit if building pkinit
authorKen Raeburn <raeburn@mit.edu>
Thu, 16 Aug 2007 15:09:58 +0000 (15:09 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 16 Aug 2007 15:09:58 +0000 (15:09 +0000)
ticket: 5617

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19829 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")