* Makefile.in (fake-install): New target; create a partially populated install
authorKen Raeburn <raeburn@mit.edu>
Wed, 17 Aug 2005 00:31:08 +0000 (00:31 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 17 Aug 2005 00:31:08 +0000 (00:31 +0000)
tree.
(check-prerecurse): Depend on it.

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

src/ChangeLog
src/Makefile.in

index 60655e380ed083e0ce833295ada6bdd7ce820c22..0ff273e6ef9d6c36a252c52854a5673fb13ff340 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-16  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (fake-install): New target; create a partially
+       populated install tree.
+       (check-prerecurse): Depend on it.
+
 2005-07-19  Tom Yu  <tlyu@mit.edu>
 
        * aclocal.m4 (AC_LIBRARY_NET): Special-case AIX 5.x due to broken
index 9dba3651e27e73b1330674773bb4af01ce91a4cb..1b500a84dcc4c084ff6c6fb2a7fd62ce2a188788 100644 (file)
@@ -87,6 +87,14 @@ install-headers-prerecurse: install-headers-mkdirs
 # install::
 #      $(MAKE) $(MFLAGS) install.man
 
+fake-install:
+       $(RM) -r $(FAKEPREFIX)
+       @for i in $(INSTALLMKDIRS); do \
+               $(srcdir)/config/mkinstalldirs util/fakedest$$i; \
+       done
+       (w=`pwd`; cd util && $(MAKE) install DESTDIR="$$w/util/fakedest")
+       (w=`pwd`; cd lib && $(MAKE) install DESTDIR="$$w/util/fakedest")
+
 TAGS: $(SRCS)
        etags $(SRCS)
 
@@ -569,3 +577,4 @@ krb5-config: $(srcdir)/krb5-config.in $(thisconfigdir)/config.status
 # $(PURE) or $(LDFLAGS) in case someone changes config/shlib.conf
 check-unix:: krb5-config
        $(SHELL) $(srcdir)/t_krbconf
+check-prerecurse: fake-install