X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fscripts%2FMakefile.in;h=905c770cc7395d829cc7fc462cfc7f45676b2213;hb=cf685d62d235bb74ed420022cefe877b58e4ab04;hp=d3a1629e20aa72bf0b0f9bd0e9ba56a6e3f068d9;hpb=cc15b7c64f24a4abe17029f300fa6907459449ad;p=bacula%2Fbacula diff --git a/bacula/scripts/Makefile.in b/bacula/scripts/Makefile.in index d3a1629e20..905c770cc7 100755 --- a/bacula/scripts/Makefile.in +++ b/bacula/scripts/Makefile.in @@ -1,6 +1,8 @@ -# -# Version $Id$ -# +# +# +# Copyright (C) 2000-2016 Kern Sibbald +# License: BSD 2-Clause; see file LICENSE-FOSS +# @MCOMMON@ working_dir=@working_dir@ @@ -33,11 +35,11 @@ installdirs: $(MKDIR) $(DESTDIR)$(mandir) install: installdirs - $(INSTALL_SCRIPT) startmysql $(DESTDIR)$(scriptdir)/startmysql - $(INSTALL_SCRIPT) stopmysql $(DESTDIR)$(scriptdir)/stopmysql $(INSTALL_SCRIPT) bconsole $(DESTDIR)$(scriptdir)/bconsole - $(INSTALL_SCRIPT) gconsole $(DESTDIR)$(scriptdir)/gconsole $(INSTALL_SCRIPT) bacula $(DESTDIR)$(scriptdir)/bacula + $(INSTALL_SCRIPT) bacula_config $(DESTDIR)$(scriptdir)/bacula_config + $(INSTALL_SCRIPT) bacula $(DESTDIR)$(sbindir)/bacula + $(INSTALL_SCRIPT) tapealert $(DESTDIR)$(scriptdir)/tapealert $(INSTALL_SCRIPT) bacula-ctl-dir $(DESTDIR)$(scriptdir)/bacula-ctl-dir $(INSTALL_SCRIPT) bacula-ctl-fd $(DESTDIR)$(scriptdir)/bacula-ctl-fd $(INSTALL_SCRIPT) bacula-ctl-sd $(DESTDIR)$(scriptdir)/bacula-ctl-sd @@ -57,24 +59,26 @@ install: installdirs $(MV) -f ${DESTDIR}${scriptdir}/disk-changer ${DESTDIR}${scriptdir}/disk-changer.old; \ fi $(INSTALL_SCRIPT) disk-changer $(DESTDIR)$(scriptdir)/disk-changer - @if test -f ${DESTDIR}${scriptdir}/dvd-handler; then \ - echo " ==> Saving existing dvd-handler to dvd-handler.old"; \ - $(MV) -f ${DESTDIR}${scriptdir}/dvd-handler ${DESTDIR}${scriptdir}/dvd-handler.old; \ - fi - $(INSTALL_SCRIPT) dvd-handler $(DESTDIR)$(scriptdir)/dvd-handler $(INSTALL_DATA) btraceback.gdb $(DESTDIR)$(scriptdir)/btraceback.gdb $(INSTALL_DATA) btraceback.dbx $(DESTDIR)$(scriptdir)/btraceback.dbx + $(INSTALL_DATA) btraceback.mdb $(DESTDIR)$(scriptdir)/btraceback.mdb + @if test -f ${DESTDIR}${scriptdir}/baculabackupreport; then \ + echo " ==> Saving existing baculabackupreport to baculabackupreport.old"; \ + $(MV) -f ${DESTDIR}${scriptdir}/baculabackupreport ${DESTDIR}${scriptdir}/baculabackupreport.old; \ + fi chmod 0644 $(DESTDIR)$(scriptdir)/btraceback.gdb \ - $(DESTDIR)$(scriptdir)/btraceback.dbx + $(DESTDIR)$(scriptdir)/btraceback.dbx \ + $(DESTDIR)$(scriptdir)/btraceback.mdb $(INSTALL_SCRIPT) btraceback $(DESTDIR)$(sbindir)/btraceback uninstall: - (cd $(DESTDIR)$(scriptdir); $(RMF) startmysql) - (cd $(DESTDIR)$(scriptdir); $(RMF) stopmysql) (cd $(DESTDIR)$(scriptdir); $(RMF) bconsole) - (cd $(DESTDIR)$(scriptdir); $(RMF) gconsole) (cd $(DESTDIR)$(scriptdir); $(RMF) bacula) + (cd $(DESTDIR)$(scriptdir); $(RMF) bacula_config) + (cd $(DESTDIR)$(sbindir); $(RMF) bacula) + (cd $(DESTDIR)$(sbindir); $(RMF) tapealert) + (cd $(DESTDIR)$(scriptdir); $(RMF) baculabackupreport) (cd $(DESTDIR)$(scriptdir); $(RMF) bacula-ctl-dir) (cd $(DESTDIR)$(scriptdir); $(RMF) bacula-ctl-fd) (cd $(DESTDIR)$(scriptdir); $(RMF) bacula-ctl-sd) @@ -84,33 +88,31 @@ uninstall: (cd $(DESTDIR)$(scriptdir); $(RMF) dvd-handler) (cd $(DESTDIR)$(scriptdir); $(RMF) btraceback.gdb) (cd $(DESTDIR)$(scriptdir); $(RMF) btraceback.dbx) - (cd $(DESTDIR)$(sbindir); $(RMF) btraceback) + (cd $(DESTDIR)$(scriptdir); $(RMF) btraceback.mdb) + (cd $(DESTDIR)$(scriptdir); $(RMF) breload) + (cd $(DESTDIR)$(sbindir); $(RMF) btraceback) Makefile: Makefile.in cd $(topdir) \ && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - chmod 755 startmysql stopmysql bacula startit stopit btraceback - chmod 755 bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd - chmod 755 disk-changer mtx-changer dvd-handler bconsole gconsole + chmod 755 bacula btraceback + chmod 755 bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd bacula_config + chmod 755 disk-changer mtx-changer bconsole tapealert Makefiles: $(SHELL) config.status - chmod 755 startmysql stopmysql bacula startit stopit btraceback + chmod 755 bacula btraceback chmod 755 bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd - chmod 755 mtx-changer dvd-handler bconsole gconsole + chmod 755 mtx-changer bconsole tapealert clean: @$(RMF) *~ 1 2 3 # clean for distribution distclean: clean - @$(RMF) startmysql stopmysql bacula fd startit stopit btraceback - @$(RMF) bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd - @$(RMF) bconsole gconsole logrotate bacula.desktop - @$(RMF) bacula.desktop.gnome1 bacula.desktop.gnome2 mtx-changer dvd-handler - @$(RMF) gnome-console.console_apps bacula.desktop.gnome2.xsu - @$(RMF) bgnome-console.console_apps - @$(RMF) bacula.desktop.gnome2.consolehelper bacula.desktop.gnome1.xsu - @$(RMF) bacula.desktop.gnome1.consolehelper + @$(RMF) bacula fd btraceback + @$(RMF) bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd bacula_config + @$(RMF) bconsole logrotate bacula.desktop + @$(RMF) mtx-changer dvd-handler # ------------------------------------------------------------------------