Skip to content

Commit

Permalink
CL: add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
leungcalvin committed Nov 15, 2024
1 parent 4310ac7 commit 2e52bb7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Use this makefile to 1) download the right sheet, 2) run the authorship wrangler.
# Then put \include{authors.tex} into your main.tex and call it a day :)
# Usage: make authors
# Author: Calvin Leung

PATH_TO_PAPER='/arc/home/calvin/kko_host_paper/'
PATH_TO_AUTHORSHIP_REPO='/arc/home/calvin/authorship'
authors:
curl -L "https://docs.google.com/spreadsheets/d/1rJuFHVxd1Qcnvw5yLEXEtYH5M8SWB46X0Pmr0QiXLBs/export?gid=0&format=tsv" > $(PATH_TO_PAPER)/authors.tsv
curl -L "https://docs.google.com/spreadsheets/d/1rJuFHVxd1Qcnvw5yLEXEtYH5M8SWB46X0Pmr0QiXLBs/export?gid=2085366068&format=tsv" > $(PATH_TO_PAPER)/affils.tsv
python $(PATH_TO_AUTHORSHIP_REPO)/authors.py $(PATH_TO_PAPER)/authors.tsv $(PATH_TO_PAPER)/affils.tsv --discard 1 > $(PATH_TO_PAPER)/authors.tex

0 comments on commit 2e52bb7

Please sign in to comment.