]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/tools/Makefile.in
Fix reporting jobs from state file + misc
[bacula/bacula] / bacula / src / tools / Makefile.in
index 9f735b05f2bfad27ce4939104c7f937747dd6e67..1896ffb09657c92dd0748329d72cf3c711022e33 100644 (file)
@@ -36,7 +36,7 @@ EXTRAOBJS = @OBJLIST@
 .c.o:
        $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
 #-------------------------------------------------------------------------
-all: Makefile bsmtp dbcheck testfind testls
+all: Makefile bsmtp dbcheck testfind testls 
        @echo "==== Make of tools is good ===="
        @echo " "
 
@@ -54,8 +54,6 @@ testls: ../findlib/libfind.a ../lib/libbac.a testls.o
        $(CXX) -g $(LDFLAGS) -L. -L../lib -L../findlib -o $@ testls.o \
          $(LIBS) $(DLIB) -lfind -lbac -lm
 
-
 Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
        cd $(topdir) \
          && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
@@ -71,8 +69,10 @@ distclean: realclean
        if test $(srcdir) = .; then $(MAKE) realclean; fi
        (cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
 
+# Allow non-root execution of bsmtp for non-root Directors
 install: bsmtp
        $(INSTALL_PROGRAM) bsmtp $(DESTDIR)$(sbindir)/bsmtp      
+       chmod 755 $(DESTDIR)$(sbindir)/bsmtp
        $(INSTALL_PROGRAM) dbcheck $(DESTDIR)$(sbindir)/dbcheck      
 
 uninstall: