| 1 |
|
|---|
| 2 |
GENERIC_SHORT_DESCRIPTION := web hosting control panel |
|---|
| 3 |
|
|---|
| 4 |
GENERIC_LARGE_DESCRIPTION := ispCP Omega is a web control panel system for administrators.?LF\ |
|---|
| 5 |
.?LF\ |
|---|
| 6 |
It provides a ready to use system for web servers with:?LF\ |
|---|
| 7 |
* Domains, subdomains and aliases support?LF\ |
|---|
| 8 |
* HTTP, FTP, smtp, pop, imap and SQL services?LF\ |
|---|
| 9 |
* Domain and SQL data backup-restore support?LF\ |
|---|
| 10 |
* Bandwidth and disk quota limits?LF\ |
|---|
| 11 |
* Admin, Reseller and Users administration levels?LF\ |
|---|
| 12 |
* Hosting packages?LF\ |
|---|
| 13 |
* Bandwidth and web traffic statistics |
|---|
| 14 |
|
|---|
| 15 |
control: control.languages |
|---|
| 16 |
cp control.in control |
|---|
| 17 |
cat control.languages >> control |
|---|
| 18 |
|
|---|
| 19 |
sed -i "s/#GENERIC_SHORT_DESCRIPTION#/$(GENERIC_SHORT_DESCRIPTION)/g;s/#GENERIC_LARGE_DESCRIPTION#/$(GENERIC_LARGE_DESCRIPTION)/g;" control |
|---|
| 20 |
sed -i "s/\?LF/\n/g" control |
|---|
| 21 |
|
|---|
| 22 |
control.languages: |
|---|
| 23 |
(cd $(CURDIR)/..;\ |
|---|
| 24 |
for lang_file in `find language-files -type f | grep -v '.po' | grep -v '.svn'`; do \ |
|---|
| 25 |
lang_machine=`cat $$lang_file \ |
|---|
| 26 |
| grep 'ispcp_languageSetlocaleValue ' \ |
|---|
| 27 |
| cut '-d=' -f2 \ |
|---|
| 28 |
| cut '-d ' -f2 \ |
|---|
| 29 |
| sed 's/_/\-/g;s/.*/\L\0/'`; \ |
|---|
| 30 |
lang_human=`cat $$lang_file \ |
|---|
| 31 |
| grep 'ispcp_language ' \ |
|---|
| 32 |
| cut '-d=' -f2 \ |
|---|
| 33 |
| cut '-d ' -f2-`; \ |
|---|
| 34 |
sed "s/#LANG_MACHINE#/$$lang_machine/g;s/#LANG_HUMAN#/$$lang_human/g;" \ |
|---|
| 35 |
< $(CURDIR)/language.tpl >> $(CURDIR)/control.languages; \ |
|---|
| 36 |
sed "s/#LANG_MACHINE#/$$lang_machine/g;s:#LANG_FILE#:$$lang_file:g" \ |
|---|
| 37 |
< $(CURDIR)/language.install.tpl > $(CURDIR)/ispcp-omega-gui-lang-$$lang_machine.install; \ |
|---|
| 38 |
done; \ |
|---|
| 39 |
) |
|---|
| 40 |
|
|---|
| 41 |
clean: |
|---|
| 42 |
$(RM) control control.languages ispcp-omega-gui-lang-*.install |
|---|
| 43 |
|
|---|
| 44 |
.PHONY: clean |
|---|