Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed the makefile to work for CD111.
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
TL=tl_2010 | ||
GEOS=county10 cd108 cd111 csa10 sldu10 vtd10 bg10 elsd10 state10 zcta510 cbsa10 scsd10 unsd10 | ||
GEOS=state10 county10 cbsa10 cd111 csa10 sldu10 vtd10 elsd10 scsd10 unsd10 bg10 zcta510 | ||
|
||
all: $(GEOS) | ||
|
||
$(GEOS): | ||
cd111: | ||
php import_tiger.php maps/$(TL)_us_$@.sqlite $(shell find -path */111/$(TL)_*$@.zip) | ||
|
||
$(filter-out cd111, $(GEOS)): | ||
php import_tiger.php maps/$(TL)_us_$@.sqlite $(shell find -path */2010/$(TL)_*$@.zip) | ||
|
||
.PHONY: all $(GEOS) |