Skip to content

Commit

Permalink
Changed the makefile to work for CD111.
Browse files Browse the repository at this point in the history
  • Loading branch information
bramp committed Sep 9, 2012
1 parent d9c63f9 commit 0bfedaa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
@@ -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)

0 comments on commit 0bfedaa

Please sign in to comment.