-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
92 lines (62 loc) · 1.87 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#
# Top level makefile for gendertropes project.
#
# This file contains top level data generation tasks for gendertropes.
# The actual data generation steps are actually specified in the following
# makefiles which this makefile merely shells to.
# tropes.mk — pre-production tasks for trope related data
# films.mk - pre-production tasks for film related data
# production.mk - tasks that produce the production files for the final visualization
#
#####################
# Top level tasks
#####################
tropes: extract_tropes analyse_tropes tropes_prod
tropes_with_download: extract_tropes download_trope_images analyse_tropes tropes_prod
film: extract_films analyse_films film_prod
film_with_download: extract_films download_film_data analyse_films film_prod
#####################
# Trope Preprocessing Tasks
#####################
extract_tropes:
make -f tropes.mk extract
download_trope_images:
make -f tropes.mk download
analyse_tropes:
make -f tropes.mk analyse
#####################
# Trope Production Tasks
#####################
tropes_prod:
make -f production.mk trope_dict
make -f production.mk trope_lists
make -f production.mk film_list
make -f production.mk adjectives
make -f production.mk gender_split
make -f production.mk trope_details
#####################
# Film Preprocessing Tasks
#####################
extract_films:
make -f films.mk extract
analyse_films:
make -f films.mk analyse
download_film_data:
make -f films.mk download
#####################
# Film Production Tasks
#####################
film_prod:
make -f production.mk film_details
#####################
# Clean Tasks
#####################
clean_prod:
make -f production.mk clean
#####################
# Copy Tasks
#####################
# The target folder should be passed in as a var to the makefile e.g. target=foo
copy_prod:
export target
make -f production.mk copy