forked from emeryberger/CSrankings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (22 loc) · 852 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
TARGETS = csrankings.js generated-author-info.csv faculty-coauthors.csv
all: $(TARGETS)
clean:
rm $(TARGETS)
csrankings.js: csrankings.ts
tsc --noImplicitAny --noImplicitReturns csrankings.ts
update-dblp:
@echo "Downloading from DBLP."
rm -f dblp.xml.gz
wget http://dblp.uni-trier.de/xml/dblp.xml.gz
@echo "Fixing character encodings."
sh ./util/fix-dblp.sh
mv dblp-fixed.xml dblp.xml
@echo "Done."
faculty-coauthors.csv: dblp.xml util/generate-faculty-coauthors.py util/csrankings.py
@echo "Rebuilding the co-author database (faculty-coauthors.csv)."
python util/generate-faculty-coauthors.py
@echo "Done."
generated-author-info.csv: faculty-affiliations.csv dblp.xml util/regenerate-data.py util/csrankings.py
@echo "Rebuilding the publication database (generated-author-info.csv)."
python util/regenerate-data.py
@echo "Done."