Skip to content

Commit c667683

Browse files
committed
Added instruction for initial setup of depend file
1 parent 7a660d7 commit c667683

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tool/update-deps

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@
1717
# 3. Use --fix to fix makefiles.
1818
# Ex. ./ruby tool/update-deps --fix
1919
#
20+
# Usage to create a depend file initially:
21+
# 1. Copy the dependency section from the Makefile generated by extconf.rb.
22+
# Ex. ext/cgi/escape/Makefile
23+
# 2. Add `# AUTOGENERATED DEPENDENCIES START` and `# AUTOGENERATED DEPENDENCIES END`
24+
# sections to top and end of the depend file.
25+
# 3. Run tool/update-deps --fix to fix the depend file.
26+
# 4. Commit the depend file.
27+
#
2028
# Other usages:
2129
# * Fix makefiles using previously detected dependency problems
2230
# Ex. ruby tool/update-deps --actual-fix [file]

0 commit comments

Comments
 (0)