1
0
forked from GitHub/gf-rgl

Language list in synopsis is dynamically generated from languages.csv

This commit is contained in:
John J. Camilleri
2018-11-13 23:00:43 +01:00
parent 7abc12bbd5
commit eae5f7b723
3 changed files with 20 additions and 63 deletions

View File

@@ -11,7 +11,7 @@ S=$(ROOT)/src
CONFIG=$(ROOT)/languages.csv
# List of languages extracted from languages.csv, with 'Synopsis' column == y
LANGS=$(shell cat $(CONFIG) | cut -d',' -f1,10 | grep ',y' | cut -d',' -f1)
LANGS=$(shell cat $(CONFIG) | cut -d',' -f1,11 | grep ',y' | cut -d',' -f1)
# This list was constructed by observing what files MkSynopsis.hs reads
SRC_FILES=$(S)/abstract/Common.gf $(S)/abstract/Cat.gf $(S)/api/Constructors.gf $(S)/abstract/Structural.gf $(patsubst %,$S/*/Paradigms%.gf,$(LANGS))