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 19, 2023
1 parent f82b717 commit 1bbb81c
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 @@ -254,3 +254,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 1bbb81c

Please sign in to comment.