|
Revision 2081, 0.6 kB
(checked in by hhubner, 2 years ago)
|
Make worldpay-test-mode work as option in web.rc
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
BASE_URL = http://217.13.200.204:8080/reports-xml |
|---|
| 3 |
YEAR = |
|---|
| 4 |
LOGIN = |
|---|
| 5 |
OUTPUT_DIR = ../payment-website/images/statistics |
|---|
| 6 |
|
|---|
| 7 |
YEARLY_GRAPHICS = contracts-by-week.svg |
|---|
| 8 |
TOTAL_GRAPHICS = all-contracts.svg |
|---|
| 9 |
|
|---|
| 10 |
all: |
|---|
| 11 |
$(MAKE) yearly-graphics YEAR=2005 |
|---|
| 12 |
$(MAKE) yearly-graphics YEAR=2006 |
|---|
| 13 |
$(MAKE) total-graphics |
|---|
| 14 |
|
|---|
| 15 |
yearly-graphics: $(YEARLY_GRAPHICS) |
|---|
| 16 |
total-graphics: $(TOTAL_GRAPHICS) |
|---|
| 17 |
|
|---|
| 18 |
.SUFFIXES: .lxsl .xsl .svg |
|---|
| 19 |
|
|---|
| 20 |
.lxsl.xsl: |
|---|
| 21 |
xsltproc -o $@ loop-compiler.xslt $*.lxsl |
|---|
| 22 |
|
|---|
| 23 |
.xsl.svg: |
|---|
| 24 |
xsltproc -o $*.xml $*.xsl '$(BASE_URL)/$*/$(YEAR)$(LOGIN)' |
|---|
| 25 |
xsltproc -o $(OUTPUT_DIR)/$*$(YEAR).svg buildSVGLineChart.xsl $*.xml |
|---|
| 26 |
rm $*.xml |
|---|