Skip to content

Commit

Permalink
record.c relies on schema.c.
Browse files Browse the repository at this point in the history
record.c dumps the schema to the output file, thus the dependency.

Signed-off-by: Fotios Valasiadis <[email protected]>
  • Loading branch information
fvalasiad committed Dec 10, 2024
1 parent e8072d4 commit a0ebaaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ SCHEMA = ../doc/build-recorder-schema.ttl

dist_data_DATA = $(SCHEMA)

record.c: schema.c

if HAVE_XXD
schema.c: $(SCHEMA)
sed '/^#/d' $^ | $(XXD) -i -n schema > $@
Expand Down

0 comments on commit a0ebaaf

Please sign in to comment.