root/zip2tz/Makefile

Revision 2102 (checked in by miyagawa, 13 years ago)

more Makefile

Line 
1 all:    US.pm
2
3 zip2state.yaml:
4         ./zip2state.pl > zip2state.yaml
5
6 state2tz.yaml: List_of_U.S._states_by_time_zone
7         ./state2tz.pl < List_of_U.S._states_by_time_zone > state2tz.yaml
8
9 List_of_U.S._states_by_time_zone:
10         wget http://en.wikipedia.org/wiki/List_of_U.S._states_by_time_zone
11
12 US.pm:  state2tz.yaml
13         ./generate_module.pl state2tz.yaml > US.pm
14
15 lib:    US.pm
16         mkdir -p lib/DateTime/TimeZone/FromState
17         cp US.pm lib/DateTime/TimeZone/FromState/US.pm
18
19 test:   lib
20         prove -l t/test.t
21
22 clean:
23         rm -r US.pm lib
24
25 distclean:
26         rm -r US.pm lib *.yaml List_of_U.S._states_by_time_zone
Note: See TracBrowser for help on using the browser.