]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/Makefile.in
Correct Python examples
[bacula/bacula] / regress / Makefile.in
index 6eafb617016ddae4648710e80c946506c77cd0ec..535c3722cfdfa3162f6f9aa5ec77803a67183546 100644 (file)
@@ -18,51 +18,55 @@ first_rule: all
 
 all:
 
-setup: bacula
+setup: bacula sed
 
 # 
 # Some machines cannot handle the sticky bit and other garbage that
 #  is in weird-files, so we load and run it only on Linux machines.
 #
-bacula: all   
-        @rm -rf bin build weird-files tmp
-        (if test x`uname` = xLinux -o x`uname` = xFreeBSD ; then \
-           tar xfz weird-files.tar.gz ;\
-         fi)
-        rm -rf tmp working
-        mkdir tmp working
-        scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS}
-        scripts/do_sed ${EMAIL} ${TAPE_DRIVE} ${AUTOCHANGER} ${AUTOCHANGER_PATH}
+bacula: all
+       @rm -rf bin build weird-files tmp
+       (if test x`uname` = xLinux -o x`uname` = xFreeBSD ; then \
+          tar xfz weird-files.tar.gz ;\
+        fi)
+       rm -rf tmp working
+       mkdir tmp working
+       echo "Doing: scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS} ${OPENSSL}"
+       scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS} ${SMTP_HOST} ${OPENSSL}
+
+sed:
+       echo "Doing: scripts/do_sed ${EMAIL} ${TAPE_DRIVE} ${AUTOCHANGER} ${AUTOCHANGER_PATH} ${TAPE_DRIVE1} ${SMTP_HOST}"
+       scripts/do_sed ${EMAIL} ${TAPE_DRIVE} ${AUTOCHANGER} ${AUTOCHANGER_PATH} ${TAPE_DRIVE1} ${SMTP_HOST}
 
 # Run all non-root userid tests
 test: 
-        ./all-non-root-tests
+       ./all-non-root-tests
 
 # run all file and tape tests
 full_test:
-        ./all-tape-and-file-tests
+       ./all-tape-and-file-tests
 
 # These tests require you to run as root
 root_test:
-        ./all-root-tests
+       ./all-root-tests
 
 clean:
-        scripts/cleanup
-        rm -f /tmp/file-list
-        rm -f tmp/* working/*
-        rm -f test.out
-        rm -f diff
-        rm -f 1 2 3 scripts/1 scripts/2 scripts/3 tests/1 tests/2 tests/3
-        @find . -name .#* -exec $(RMF) {} \;
+       scripts/cleanup
+       rm -f /tmp/file-list
+       rm -fr tmp/* working/*
+       rm -f test.out
+       rm -f diff
+       rm -f 1 2 3 scripts/1 scripts/2 scripts/3 tests/1 tests/2 tests/3
+       @find . -name .#* -exec $(RMF) {} \;
 
 # Reset our userid after running as root
 reset:
-        chown -R ${USER}:${USER} . tmp working
-        scripts/cleanup
-        rm -f /tmp/file-list tmp/file-list
-        rm -f tmp/* working/*
+       chown -R ${USER}:${USER} . tmp working
+       scripts/cleanup
+       rm -f /tmp/file-list tmp/file-list
+       rm -f tmp/* working/*
 
 distclean: clean
-        rm -rf bin build weird-files weird-files weird-files2 tmp working
-        rm -f scripts/*.conf
-                      
+       rm -rf bin build weird-files weird-files weird-files2 tmp working
+       rm -f scripts/*.conf
+