Skip to content

Commit

Permalink
Update sync script to handle yarp/version.h
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed Aug 25, 2023
1 parent 2e29bd6 commit a7c7cd1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -265,3 +265,4 @@ lcov*.info
/yarp/prettyprint.c
/yarp/serialize.c
/yarp/token_type.c
/yarp/version.h
4 changes: 4 additions & 0 deletions common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ srcs: yarp/ast.h
yarp/ast.h: $(srcdir)/yarp/templates/template.rb $(srcdir)/yarp/templates/include/yarp/ast.h.erb
$(Q) $(BASERUBY) $(srcdir)/yarp/templates/template.rb include/yarp/ast.h $@

srcs: yarp/version.h
yarp/version.h: $(srcdir)/yarp/templates/template.rb $(srcdir)/yarp/templates/include/yarp/version.h.erb
$(Q) $(BASERUBY) $(srcdir)/yarp/templates/template.rb include/yarp/version.h $@

srcs: yarp/node.c
yarp/node.c: $(srcdir)/yarp/templates/template.rb $(srcdir)/yarp/templates/src/node.c.erb
$(Q) $(BASERUBY) $(srcdir)/yarp/templates/template.rb src/node.c $@
Expand Down
1 change: 1 addition & 0 deletions tool/update-deps
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ FILES_NEED_VPATH = %w[
yarp/prettyprint.c
yarp/serialize.c
yarp/token_type.c
yarp/version.h
]

# Multiple files with same filename.
Expand Down
4 changes: 0 additions & 4 deletions yarp/version.h

This file was deleted.

0 comments on commit a7c7cd1

Please sign in to comment.