summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-08-01 13:33:54 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-08-01 13:33:54 +0000
commitbfb785f88f3948b44eed340c5c5c11ba76cc4f63 (patch)
treea4ec5c607998e9a3cc518512b50b4cf469b2f692 /Makefile
parent5e2668ac3149e5ab06ba57bf4b5938ab5db13fad (diff)
downloaddrakwizard-bfb785f88f3948b44eed340c5c5c11ba76cc4f63.tar
drakwizard-bfb785f88f3948b44eed340c5c5c11ba76cc4f63.tar.gz
drakwizard-bfb785f88f3948b44eed340c5c5c11ba76cc4f63.tar.bz2
drakwizard-bfb785f88f3948b44eed340c5c5c11ba76cc4f63.tar.xz
drakwizard-bfb785f88f3948b44eed340c5c5c11ba76cc4f63.zip
added test section
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile40
1 files changed, 21 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index b578a84c..610f41b7 100644
--- a/Makefile
+++ b/Makefile
@@ -54,23 +54,25 @@ install:
cd db_wizard; make prefix=${prefix} install
cd proxy_wizard; make prefix=${prefix} install
-common_:
- cd common; make rpm
+clean_test:
+ rm -rf test
-dhcp:
- cd dhcp_wizard; make rpm
-
-dns:
- cd dns_wizard; make rpm
-
-global:
- cd global_wizard; make rpm
-
-postfix:
- cd postfix_wizard; make rpm
-
-server:
- cd server_wizard; make rpm
-
-time:
- cd time_wizard; make rpm
+test: clean_test
+ mkdir test
+ cp -rf server_wizard test
+ cp -rf common test
+ cp -rf dhcp_wizard test
+ cp -rf dns_wizard test
+ cp -rf firewall_wizard test
+ cp -rf global_wizard test
+ cp -rf postfix_wizard test
+ cp -rf samba_wizard test
+ cp -rf time_wizard test
+ cp -rf web_wizard test
+ cp -rf ftp_wizard test
+ cp -rf news_wizard test
+ cp -rf client_wizard test
+ cp -rf db_wizard test
+ cp -rf proxy_wizard test
+ cp -f Wizard.dtd Makefile drakwizard.pl drakwizard.spec test
+ find test -regex ".*\.wiz$$\|.*.pm$$" -exec perl -pi -e "s|__WIZ_HOME__|$(PWD)/test|g" \{\} \;