summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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" \{\} \;