X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fplatforms%2Fredhat%2FMakefile.in;h=09c37f7c702c0c2d1a5072e2e7b0fb1cf6e619e3;hb=e0b608be01c37b3ef12faedf99ee19c2fa1dbd6c;hp=e46588fd1b3287bb89759c8a5280acfbeabb576a;hpb=c1472cee63bc4d51a3ffafe8404b0a0ba7750141;p=bacula%2Fbacula diff --git a/bacula/platforms/redhat/Makefile.in b/bacula/platforms/redhat/Makefile.in index e46588fd1b..09c37f7c70 100644 --- a/bacula/platforms/redhat/Makefile.in +++ b/bacula/platforms/redhat/Makefile.in @@ -8,7 +8,7 @@ # INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 754 nothing: @@ -16,12 +16,14 @@ install: install-autostart install-autostart: install-autostart-fd install-autostart-sd install-autostart-dir +install_logrotate: + @$(INSTALL_PROGRAM) ../../scripts/logrotate $(DESTDIR)/etc/logrotate.d/bacula install-autostart-fd: @if test x$(DESTDIR) = x -a -f /etc/rc.d/init.d/bacula-fd; then \ /sbin/chkconfig --del bacula-fd; \ fi - @$(INSTALL_PROGRAM) -m 744 bacula-fd $(DESTDIR)/etc/rc.d/init.d/bacula-fd + @$(INSTALL_PROGRAM) bacula-fd $(DESTDIR)/etc/rc.d/init.d/bacula-fd # set symlinks for script at startup and shutdown @if test x$(DESTDIR) = x ; then \ /sbin/chkconfig --add bacula-fd; \ @@ -32,7 +34,7 @@ install-autostart-sd: @if test x$(DESTDIR) = x -a -f /etc/rc.d/init.d/bacula-sd; then \ /sbin/chkconfig --del bacula-sd; \ fi - @$(INSTALL_PROGRAM) -m 744 bacula-sd $(DESTDIR)/etc/rc.d/init.d/bacula-sd + @$(INSTALL_PROGRAM) bacula-sd $(DESTDIR)/etc/rc.d/init.d/bacula-sd # set symlinks for script at startup and shutdown @if test x$(DESTDIR) = x ; then \ /sbin/chkconfig --add bacula-sd; \ @@ -43,7 +45,7 @@ install-autostart-dir: @if test x$(DESTDIR) = x -a -f /etc/rc.d/init.d/bacula-dir; then \ /sbin/chkconfig --del bacula-dir; \ fi - @$(INSTALL_PROGRAM) -m 744 bacula-dir $(DESTDIR)/etc/rc.d/init.d/bacula-dir + @$(INSTALL_PROGRAM) bacula-dir $(DESTDIR)/etc/rc.d/init.d/bacula-dir # set symlinks for script at startup and shutdown @if test x$(DESTDIR) = x ; then \ /sbin/chkconfig --add bacula-dir; \ @@ -54,6 +56,9 @@ uninstall: uninstall-autostart uninstall-autostart: uninstall-autostart-fd uninstall-autostart-sd uninstall-autostart-dir +uninstall-logrotate: + @rm -f $(DESTDIR)/etc/logrotate.d/bacula + uninstall-autostart-fd: @if test x$(DESTDIR) = x -a -f /etc/rc.d/init.d/bacula-fd; then \ /sbin/chkconfig --del bacula-fd; \ @@ -79,4 +84,7 @@ clean: distclean: clean @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