diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-07-26 08:55:31 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-07-26 08:55:31 +0000 |
commit | 92598faec0bf5d2bc8bd25d1a55b32da29eb6bd7 (patch) | |
tree | 7852bb21f1d2586dc55a9f2bb76032f546fb0a5f /Makefile | |
parent | 1f50db231abebdf1d547e0120e3fb65ce8a93b65 (diff) | |
download | drakwizard-92598faec0bf5d2bc8bd25d1a55b32da29eb6bd7.tar drakwizard-92598faec0bf5d2bc8bd25d1a55b32da29eb6bd7.tar.gz drakwizard-92598faec0bf5d2bc8bd25d1a55b32da29eb6bd7.tar.bz2 drakwizard-92598faec0bf5d2bc8bd25d1a55b32da29eb6bd7.tar.xz drakwizard-92598faec0bf5d2bc8bd25d1a55b32da29eb6bd7.zip |
build only one big rpm
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..5130063d --- /dev/null +++ b/Makefile @@ -0,0 +1,73 @@ +## +## Don't edit this file, edit Makefile.proto +## + +rpm: + rm -rf drakwizard-$(VERSION) + mkdir drakwizard-$(VERSION) + cp -rf server_wizard drakwizard-$(VERSION) + cp -rf common drakwizard-$(VERSION) + cp -rf dhcp_wizard drakwizard-$(VERSION) + cp -rf dns_wizard drakwizard-$(VERSION) + cp -rf firewall_wizard drakwizard-$(VERSION) + cp -rf global_wizard drakwizard-$(VERSION) + cp -rf postfix_wizard drakwizard-$(VERSION) + cp -rf samba_wizard drakwizard-$(VERSION) + cp -rf time_wizard drakwizard-$(VERSION) + cp -rf web_wizard drakwizard-$(VERSION) + cp -rf ftp_wizard drakwizard-$(VERSION) + cp -rf news_wizard drakwizard-$(VERSION) + cp -rf client_wizard drakwizard-$(VERSION) + cp -rf db_wizard drakwizard-$(VERSION) + cp -rf proxy_wizard drakwizard-$(VERSION) + cp -f Wizard.dtd Makefile drakwizard.pl drakwizard.spec drakwizard-$(VERSION) + rm -f drakwizard-$(VERSION).tar.bz2 + rm -f drakwizard-$(VERSION).tar + tar cvf drakwizard-$(VERSION).tar drakwizard-$(VERSION) + rm -rf drakwizard-$(VERSION) + bzip2 -z9 drakwizard-$(VERSION).tar + mv drakwizard-$(VERSION).tar.bz2 $(RPM)/SOURCES + cp -f drakwizard.spec $(RPM)/SPECS + (cd $(RPM)/SPECS; rpm -ba drakwizard.spec) +# installs all the wizards... + +install: + find -regex ".*\.wiz$$\|.*.pm$$" -exec perl -pi -e "s|__WIZ_HOME__|/usr/share/wizards|g" \{\} \; + mkdir -p ${prefix}/sbin + install -p drakwizard.pl ${prefix}/sbin/drakwizard + cd server_wizard; make prefix=${prefix} install + cd common; make prefix=${prefix} install + cd dhcp_wizard; make prefix=${prefix} install + cd dns_wizard; make prefix=${prefix} install + cd firewall_wizard; make prefix=${prefix} install + cd global_wizard; make prefix=${prefix} install + cd postfix_wizard; make prefix=${prefix} install + cd samba_wizard; make prefix=${prefix} install + cd time_wizard; make prefix=${prefix} install + cd web_wizard; make prefix=${prefix} install + cd ftp_wizard; make prefix=${prefix} install + cd news_wizard; make prefix=${prefix} install + cd client_wizard; make prefix=${prefix} install + cd db_wizard; make prefix=${prefix} install + cd proxy_wizard; make prefix=${prefix} install + +common_: + cd common; make rpm + +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 |