use it, instead of duplicating the rest of the code. Use LIBDONE as list to
process, so berk_db will be skipped when not in use. Check exit status of
LIBUPDATE invocation. Remove library before creating as workaround for
libupdate bug.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7876
dc483132-0cff-0310-8789-
dd5450dbe970
+Tue Apr 30 16:31:50 1996 Ken Raeburn <raeburn@cygnus.com>
+
+ * Makefile.in (libkrb5.$(STEXT)): Set a variable with or without
+ "--force" and use it, instead of duplicating the rest of the
+ code. Use LIBDONE as list to process, so berk_db will be skipped
+ when not in use. Check exit status of LIBUPDATE invocation.
+ Remove library before creating as workaround for libupdate bug.
+
Wed Feb 7 00:23:18 1996 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in: Folded in danw's changes to allow
all-windows::
libkrb5.$(STEXT): $(LIBDONE)
- if test -f $@ ; then \
- for i in $(LIB_SUBDIRS) ; \
- do \
- $(LIBUPDATE) $@ $$i/DONE $$i ; \
- done ; \
- else \
- for i in $(LIB_SUBDIRS) ; \
- do \
- $(LIBUPDATE) --force $@ $$i/DONE $$i ; \
- done ; \
- fi
+ -rm -f $@ libkrb5.stamp
+ if test -f $@ ; then frc=--force ; else frc= ; fi ; \
+ for i in $(LIBDONE) ; \
+ do \
+ $(LIBUPDATE) $$frc $@ $$i `echo $$i | sed s,/DONE,,` \
+ || exit 1 ; \
+ done
$(RANLIB) libkrb5.$(STEXT)
touch libkrb5.stamp
-
-
-
clean-unix::
$(RM) libkrb5.$(LIBEXT) libkrb5.stamp