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 27, 2023
1 parent 2f7d791 commit 462fa03
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 462fa03

Please sign in to comment.