]> git.sur5r.net Git - bacula/bacula/commitdiff
Backport one more patch into master from class based catalog backend code.
authorMarco van Wieringen <mvw@planets.elm.net>
Tue, 18 Jan 2011 13:25:32 +0000 (14:25 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:39:53 +0000 (14:39 +0200)
bacula/Makefile.in

index 7cb7e6083796d3b5b21cf68a7a2641eb1e8e73ed..cd7434b66c22e832f210ea871214218657f27225 100755 (executable)
@@ -190,11 +190,16 @@ Makefiles:
         chmod 755 dvd-handler)
 
        (cd src/cats; \
-        chmod 755 create_bacula_database      update_bacula_tables     make_bacula_tables; \
-        chmod 755 grant_bacula_privileges     drop_bacula_tables       drop_bacula_database; \
-        chmod 755 create_@DB_TYPE@_database   update_@DB_TYPE@_tables  make_@DB_TYPE@_tables; \
-        chmod 755 grant_@DB_TYPE@_privileges  drop_@DB_TYPE@_tables    drop_@DB_TYPE@_database; \
+        chmod 755 create_bacula_database update_bacula_tables make_bacula_tables; \
+        chmod 755 grant_bacula_privileges drop_bacula_tables drop_bacula_database; \
         chmod 755 make_catalog_backup delete_catalog_backup)
+
+       (cd src/cats; \
+        for db_type in @DB_BACKENDS@; do \
+        chmod 755 create_$$db_type_database update_$$db_type_tables make_$$db_type_tables; \
+        chmod 755 grant_$$db_type_privileges drop_$$db_type_tables drop_$$db_type_database; \
+        done)
+
        (cd src/qt-console; \
         chmod 755 install_conf_file build-depkgs-qt-console)