Tue Nov 1 14:56:47 1994 (tytso@rsx-11)
+ * Makefile.in: Change the way libupdate works so that we use
+ libkrb5.stamp to determine whether or not $arcmd needs to
+ be rerun.
+
* Makefile.in:
* configure.in: Change the way the library is built to use the
libupdate script.
$(LIBUPDATE) --force $@ $$i/DONE $$i ; \
done \
fi
+ touch libkrb5.stamp
install:: libkrb5_ranlib
$(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/libkrb5.a
clean::
- $(RM) libkrb5.a libkrb5_ranlib
+ $(RM) libkrb5.a libkrb5_ranlib libkrb5.stamp
Tue Nov 1 14:49:00 1994 (tytso@rsx-11)
+ * libupdate.sh: Use library.stamp to determine whether or not
+ $arcmd needs to be rerun.
+
* libupdate.sh: touch the library first, before running $aradd, in
case changing the mod time of the library after running
$aradd causes problems on some systems.
oblist=$2
dir=$3
-if test "$force" != yes -a -f $library && \
- ls -lt $library $oblist | sed 1q | grep $library$ > /dev/null || \
+stamp=`echo $library | sed -e 's/.a$/.stamp/'`
+
+if test "$force" != yes -a -f $stamp && \
+ ls -lt $stamp $oblist | sed 1q | grep $stamp$ > /dev/null || \
test -z "`cat $oblist`"
then
exit 0
echo "Updating library $library from $oblist"
-touch $library
$arcmd $library `cat $oblist | \
sed -e "s;^\([^ ]*\);$dir/\1;g" -e "s; \([^ ]*\); $dir/\1;g"`