uninstall:
@for I in $(all_subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1); done
-install-autostart: install-autostart-dir install-autostart-fd install-autostart-sd
+install-autostart:
+ (cd platforms; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1)
install-autostart-dir:
(cd platforms; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1)
install-autostart-sd:
(cd platforms; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1)
-uninstall-autostart: uninstall-autostart-dir uninstall-autostart-fd uninstall-autrun-sd
+uninstall-autostart:
+ (cd platforms; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1)
uninstall-autostart-dir:
(cd platforms; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1)
@$(RMF) -r po/CVS src/immortal/CVS rescue/freebsd/CVS rescue/solaris/CVS
@$(RMF) -r CVS src/gnome-console/CVS src/tconsole/CVS
+devclean:
+ @for I in $(all_subdirs); do (cd $$I; $(MAKE) $@ || exit 1); done
+ @for I in $(all_subdirs); do (cd $$I; $(RMF) startit stopit btraceback); done
+ @(cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status config.out)
+ @(cd $(srcdir); $(RMF) Makefile autoconf/Make.common)
+ @(cd platforms; echo "==>Entering directory `pwd`"; ${MAKE} $@ || exit 1)
+ @$(RMF) bacula fd Makefile startmysql stopmysql startit stopit btraceback
+ @$(RMF) bconsole gconsole
+ @$(RMF) *~ 1 2 3 core core.* config.guess console.log console.sum
+ @$(RMF) working/*
+
distdirs:
mkdir ../$(VERNAME);
mkdir ../$(VERNAME)/autoconf;
done
-install: install-autostart-dir install-autostart-fd install-autostart-sd
+install: install-autostart
+
+install-autostart:
+ @if test x$(DISTNAME) != x ; then \
+ (cd $(DISTNAME); \
+ $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
+ fi
install-autostart-dir:
@if test x$(DISTNAME) != x ; then \
$(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
fi
-uninstall: uninstall-autostart-dir uninstall-autostart-fd uninstall-autrun-sd
+uninstall: uninstall-autostart
+
+uninstall-autostart:
+ @if test x$(DISTNAME) != x ; then \
+ (cd $(DISTNAME); \
+ $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
+ fi
uninstall-autostart-dir:
@if test x$(DISTNAME) != x ; then \
fi; \
(cd $${subdir}; rm -rf CVS) \
done
+
+devclean:
+ @rm -f Makefile
+ @for subdir in ${SUBDIRS}; do \
+ if [ -f $${subdir}/Makefile ]; then \
+ (cd $${subdir}; $(MAKE) devclean) \
+ fi; \
+ done
distclean: clean
@rm -f Makefile bacula-*.spec
@rm -rf CVS
+
+devclean: clean
+ @rm -f Makefile bacula-*.spec
+
distclean: clean
@rm -f Makefile bacula-*.spec
@rm -rf CVS
+
+devclean: clean
+ @rm -f Makefile bacula-*.spec
+
distclean: clean
@rm -f Makefile
@rm -rf CVS
+
+devclean: clean
+ @rm -f Makefile
+
distclean: clean
@rm -f Makefile bacula-*.spec
@rm -rf CVS
+
+devclean: clean
+ @rm -f Makefile bacula-*.spec
+
distclean: clean
@rm -f Makefile
@rm -rf CVS
+
+devclean: clean
+ @rm -f Makefile
+
distclean: clean
@rm -f Makefile bacula-*.spec
@rm -rf CVS
+
+devclean: clean
+ @rm -f Makefile bacula-*.spec
+
@rm -f Makefile bacula-*.spec bacula.*.spec bacula.spec
@rm -f bacula-sd bacula-fd bacula-dir
@rm -rf CVS
+
+devclean: clean
+ @rm -f Makefile bacula-*.spec bacula.*.spec bacula.spec
+ @rm -f bacula-sd bacula-fd bacula-dir
+
distclean: clean
@rm -f Makefile bacula-*.spec
@rm -rf CVS
+
+devclean: clean
+ @rm -f Makefile bacula-*.spec
+
install: install-autostart
-install-autostart: install-autostart-fd install-autostart-sd install-autostart-dir install-logrotate
+install-autostart: install-autostart-fd install-autostart-sd install-autostart-dir
install_logrotate:
@$(INSTALL_PROGRAM) ../../scripts/logrotate $(DESTDIR)/etc/logrotate.d/bacula
uninstall: uninstall-autostart
-uninstall-autostart: uninstall-autostart-fd uninstall-autostart-sd uninstall-autostart-dir uninstall-logrotate
+uninstall-autostart: uninstall-autostart-fd uninstall-autostart-sd uninstall-autostart-dir
uninstall-logrotate:
@rm -f $(DESTDIR)/etc/logrotate.d/bacula
@rm -f Makefile bacula-*.spec bacula.*.spec bacula.spec
@rm -f bacula-sd bacula-fd bacula-dir
@rm -rf CVS
+
+devclean: clean
+ @rm -f Makefile bacula-*.spec bacula.*.spec bacula.spec
+ @rm -f bacula-sd bacula-fd bacula-dir
+
distclean: clean
@rm -f Makefile bacula-*.spec
@rm -rf CVS
+
+devclean: clean
+ @rm -f Makefile bacula-*.spec
+
@rm -f Makefile bacula-*.spec bacula.*.spec bacula.spec
@rm -f bacula-sd bacula-fd bacula-dir
@rm -rf CVS
+
+devclean: clean
+ @rm -f Makefile bacula-*.spec bacula.*.spec bacula.spec
+ @rm -f bacula-sd bacula-fd bacula-dir
+
distclean:
@rm -f bacula-SD bacula-FD bacula-DIR Makefile bacula-*.spec
@rm -rf CVS
+
+devclean:
+ @rm -f bacula-SD bacula-FD bacula-DIR Makefile bacula-*.spec
+
@$(RMF) config.h host.h
@$(RMF) -r CVS
+devclean: realclean
+ if test $(srcdir) = .; then $(MAKE) realclean; fi
+ @(cd $(srcdir); $(RMF) Makefile)
+ @$(RMF) config.h host.h
+
install:
if test $(srcdir) = .; then $(MAKE) realclean; fi
(cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+devclean: realclean
+ if test $(srcdir) = .; then $(MAKE) realclean; fi
+ (cd $(srcdir); $(RMF) Makefile)
+
install:
$(INSTALL_SCRIPT) create_@DB_NAME@_database $(DESTDIR)$(scriptdir)/create_@DB_NAME@_database
$(INSTALL_SCRIPT) update_@DB_NAME@_tables $(DESTDIR)$(scriptdir)/update_@DB_NAME@_tables
if test $(srcdir) = .; then $(MAKE) realclean; fi
(cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+devclean: realclean
+ if test $(srcdir) = .; then $(MAKE) realclean; fi
+ (cd $(srcdir); $(RMF) Makefile)
+
install: all
@if test -f ${DESTDIR}${sbindir}/console; then \
echo " "; \
if test $(srcdir) = .; then $(MAKE) realclean; fi
(cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+devclean: realclean
+ if test $(srcdir) = .; then $(MAKE) realclean; fi
+ (cd $(srcdir); $(RMF) Makefile)
+
install: all
$(INSTALL_PROGRAM) bacula-dir $(DESTDIR)$(sbindir)/bacula-dir
@srcconf=bacula-dir.conf; \
(cd win32; $(MAKE) distclean); \
fi
+devclean: realclean
+ if test $(srcdir) = .; then $(MAKE) realclean; fi
+ (cd $(srcdir); $(RMF) Makefile)
+ if test -f win32/Makefile; then \
+ (cd win32; $(MAKE) devclean); \
+ fi
+
install: all
$(INSTALL_PROGRAM) bacula-fd $(DESTDIR)$(sbindir)/bacula-fd
@srcconf=bacula-fd.conf; \
@rm -f Makefile
@rm -rf bin/CVS CVS
+devclean: clean
+ @rm -f Makefile
+
install:
@mkdir -p $(DESTDIR)$(sbindir) $(DESTDIR)/tmp $(DESTDIR)$(sbindir)/../working
@echo "Installing system binary files ..."
if test $(srcdir) = .; then $(MAKE) realclean; fi
(cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+devclean: realclean
+ if test $(srcdir) = .; then $(MAKE) realclean; fi
+ (cd $(srcdir); $(RMF) Makefile)
+
install:
if test $(srcdir) = .; then $(MAKE) realclean; fi
(cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+devclean: realclean
+ if test $(srcdir) = .; then $(MAKE) realclean; fi
+ (cd $(srcdir); $(RMF) Makefile)
# Semi-automatic generation of dependencies:
# Use cc -M because X11 `makedepend' doesn't work on all systems
if test $(srcdir) = .; then $(MAKE) realclean; fi
(cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+devclean: realclean
+ if test $(srcdir) = .; then $(MAKE) realclean; fi
+ (cd $(srcdir); $(RMF) Makefile)
+
# Allow non-root execution of bsmtp for non-root Directors
install: bsmtp
$(INSTALL_PROGRAM) bsmtp $(DESTDIR)$(sbindir)/bsmtp