]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/platforms/Makefile.in
Fix #1648 about make_catalog_backup.pl with multiple catalog
[bacula/bacula] / bacula / platforms / Makefile.in
index a0584c5f4cb3ce2452d5baf31837760d8849e60e..79101b07fd9b31bf25e53ab48335bcf81d5953c9 100644 (file)
@@ -11,8 +11,8 @@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL = @INSTALL@
 
-SUBDIRS = freebsd redhat solaris unknown openbsd irix gentoo \
-         darwin aix bsdi mandrake
+SUBDIRS = freebsd redhat solaris unknown openbsd osx irix gentoo \
+         debian darwin aix bsdi mandrake slackware alpha ubuntu
 
 MAKE = make
 
@@ -27,7 +27,13 @@ all:
        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 \
@@ -47,7 +53,13 @@ install-autostart-sd:
              $(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 \
@@ -75,14 +87,20 @@ clean:
                    (cd $${subdir}; $(MAKE) clean) \
            fi; \
        done
-       rm -f 1 2 3
+       @rm -f 1 2 3
 
 distclean:
        @rm -f Makefile
-       @rm -rf CVS
        @for subdir in ${SUBDIRS}; do \
            if [ -f $${subdir}/Makefile ]; then \
                     (cd $${subdir}; $(MAKE) distclean) \
            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