Skip to content

Commit

Permalink
Implement pgindent-headers Makefile rule
Browse files Browse the repository at this point in the history
This rule executes pgindent with header files only.
  • Loading branch information
vitcpp committed Dec 22, 2023
1 parent 66da25a commit d7ce1ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,10 @@ pgindent:
--excludes=pgindent-excludes.list \
--indent=${PGBSDINDENT} \
src

pgindent-headers:
$(PGINDENT) \
--typedefs=pgindent-typedefs.list \
--excludes=pgindent-excludes.list \
--indent=${PGBSDINDENT} \
src/*.h

0 comments on commit d7ce1ae

Please sign in to comment.