Open jyn514 opened 6 years ago
what I've got so far:
NEW_GRADES != printf "$(GRADE_DIR)/Fall-2013.xlsx "
NEW_GRADES += $(shell for year in $$(seq 2014 `date +%Y -d '2 years ago'`); do \
for season in Spring Summer Fall; do \
printf "$(GRADE_DIR)/$season-$year.xlsx"; done; done)
this doesn't handle anything in the past year, which kind of defeats the purpose
currently, we'll have to update the makefile every semester to have the new info. the following dependencies should call to
date +%Y%m
instead:EXAMS
NEW_GRADES
SECTIONS