Skip to content

Commit

Permalink
Initial incomplete changes in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholmer committed Jul 23, 2018
1 parent 87f0194 commit 875dd77
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ __pycache__/
# Mac OS X
*.DS_Store

# IRS-SOI PUF data files
# IRS-SOI PUF and related CPS matching data files
puf_data/puf.csv
puf_data/cps-matched-puf.csv
puf_data/StatMatch/Matching/puf2011.csv
puf_data/StatMatch/Matching/cpsmar2016.csv
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,15 @@ puf-files: puf_data/puf.csv \
puf_stage2/puf_weights.csv.gz \
puf_stage3/puf_ratios.csv

PM_DIR=./puf_data/StatMatch/Matching
PM_FILES := $(shell ls -l $(PM_DIR)/*py | awk '{print $$9}')
puf_data/cps-matched-puf.csv: $(PM_FILES) \
$(PM_DIR)/puf2011.csv \
# $(PM_DIR)/cpsmar2016.csv
@echo $(PM_DIR)
@echo $(PM_FILES)
# cd $(PM_DIR) ; python runmatch.py

puf_data/puf.csv: puf_data/finalprep.py \
puf_data/cps-matched-puf.csv
cd puf_data ; python finalprep.py
Expand Down

0 comments on commit 875dd77

Please sign in to comment.