if test $(srcdir) = .; then $(MAKE) realclean; fi
(cd $(srcdir); $(RMF) Makefile)
+installall: $(TOOLS)
+ @for tool in ${TOOLS} ; do \
+ $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) $$tool $(DESTDIR)$(sbindir)/$$tool ; \
+ done
+ chmod 755 $(DESTDIR)$(sbindir)/bsmtp
+
# Allow non-root execution of bsmtp for non-root Directors
install: $(INSTOOLS)
@for tool in ${INSTOOLS} ; do \
# eliminate non-essential directories to reduce
# size. Otherwise regress run too long
rm -rf src/win32 examples patches
-cp src/tools/testls ../bin
+# get all tools -- especially testls
+cd src/tools
+make installall
check_exit_code
cd ${cwd}