]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/Makefile.in
17Mar06
[bacula/bacula] / bacula / Makefile.in
index d0e4327c51bb66efccfa35ee92e4a7a556f67654..f6cd26a08a142e702a805bc2aff55581d4af298f 100755 (executable)
@@ -4,6 +4,8 @@
 @MCOMMON@
 
 working_dir=@working_dir@
+dir_group=@dir_group@
+dir_user=@dir_user@
 
 srcdir =       @srcdir@
 VPATH =        @srcdir@
@@ -21,7 +23,7 @@ fd_subdirs = src scripts src/lib src/findlib src/filed \
             @GNOME_DIR@ @TRAY_MONITOR_DIR@ @WX_DIR@
 
 # Non-client-only directores
-subdirs =    src/cats src/dird src/stored src/tools
+subdirs =    src/cats @DIRD_DIR@ @STORED_DIR@ src/tools
 
 all_subdirs = ${fd_subdirs} ${@ALL_DIRS@} 
 
@@ -54,8 +56,8 @@ bacula-fd: Makefile
        done
 
 #-------------------------------------------------------------------------
-autoconf/aclocal.m4: autoconf/bacula-macros/*
-       cd autoconf && aclocal -I bacula-macros
+autoconf/aclocal.m4: autoconf/configure.in autoconf/bacula-macros/* autoconf/gettext-macros/*
+       cd autoconf && aclocal -I bacula-macros -I gettext-macros
 
 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/acconfig.h autoconf/config.h.in
        cd $(srcdir);
@@ -88,6 +90,10 @@ installdirs:
        $(MKDIR) $(DESTDIR)$(sysconfdir)
        $(MKDIR) $(DESTDIR)$(scriptdir)
        $(MKDIR) $(DESTDIR)$(working_dir)
+       if test "x$(dir_user)" != "x" ; then \
+          chown -f $(dir_user) $(DESTDIR)$(working_dir); fi
+       if test "x$(dir_group)" != "x" ; then \
+          chown -f :$(dir_group) $(DESTDIR)$(working_dir); fi
 #      $(MKDIR) $(DESTDIR)$(mandir)
 
 gnomedirs:
@@ -168,7 +174,7 @@ Makefiles:
        (cd scripts; \
        chmod 755 startmysql stopmysql bacula startit stopit btraceback; \
        chmod 755 mtx-changer bconsole gconsole devel_bacula; \
-       chmod 755 dvd-freespace dvd-writepart)
+       chmod 755 dvd-handler)
 
        (cd src/cats; \
        chmod 755 create_bacula_database      update_bacula_tables     make_bacula_tables; \