Don't use filenames in Makefile when you don't generate the files

This commit is contained in:
Denis Merigoux 2022-07-29 18:56:49 +02:00
parent 1a6934b538
commit fa9d47254e
No known key found for this signature in database
GPG Key ID: EE99DCFA365C3EE3

View File

@ -233,23 +233,16 @@ run_french_law_library_ocaml_tests: build_french_law_library_ocaml
# JSON schemas
#-----------------------------------------
french_law/json_schemas/allocations_familiales_schema.json:
CATALA_OPTS="$(CATALA_OPTS) -t" \
SCOPE=InterfaceAllocationsFamiliales \
$(MAKE) -C \
$(ALLOCATIONS_FAMILIALES_DIR) allocations_familiales_schema.json
french_law/json_schemas/aides_logement_schema.json:
#> generate_french_law_json_schemas : Generates the French law library JSON schemas
generate_french_law_json_schemas: plugins
CATALA_OPTS="$(CATALA_OPTS) -t" \
SCOPE=CalculetteAidesAuLogementGardeAlternée \
$(MAKE) -C \
$(AIDES_LOGEMENT_DIR) aides_logement_schema.json
#> generate_french_law_json_schemas : Generates the French law library JSON schemas
generate_french_law_json_schemas: plugins \
french_law/json_schemas/allocations_familiales_schema.json \
french_law/json_schemas/aides_logement_schema.json
CATALA_OPTS="$(CATALA_OPTS) -t" \
SCOPE=InterfaceAllocationsFamiliales \
$(MAKE) -C \
$(ALLOCATIONS_FAMILIALES_DIR) allocations_familiales_schema.json
#-----------------------------------------
# JS
#-----------------------------------------