makefile: add gitconfig target
This commit is contained in:
parent
95e410feff
commit
9267342649
2 changed files with 6 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -72,6 +72,10 @@ format:
|
|||
find . -maxdepth 1 -iname '*.c' -o -iname '*.h' \
|
||||
| xargs ${CLANG_FORMAT} -i
|
||||
|
||||
gitconfig:
|
||||
git config format.subjectPrefix "PATCH callisto"
|
||||
git config sendemail.to '~jeremy/public-inbox@lists.sr.ht'
|
||||
|
||||
install:
|
||||
mkdir -p "${DESTDIR}${PREFIX}"/bin
|
||||
mkdir -p "${DESTDIR}${PREFIX}"/include/callisto
|
||||
|
@ -82,4 +86,4 @@ install:
|
|||
cp -f libcallisto.a "${DESTDIR}${PREFIX}"/lib/
|
||||
cp -f man/csto.1 "${DESTDIR}${PREFIX}"/share/man/man1/
|
||||
|
||||
.PHONY: all clean doc format install
|
||||
.PHONY: all clean doc format gitconfig install
|
||||
|
|
|
@ -115,6 +115,7 @@ an email to ~jeremy/callisto@todo.sr.ht.
|
|||
## contributing
|
||||
|
||||
Send patches to [my public inbox][2] using [git send-email][3].
|
||||
`make gitconfig` will set you up with the correct settings.
|
||||
Preferred code style is detailed in the style.md document but is not
|
||||
required. Thanks :)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue