diff --git a/Makefile b/Makefile index 8aca88c..5ed8dff 100644 --- a/Makefile +++ b/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 diff --git a/README.md b/README.md index 45b3151..cab08a5 100644 --- a/README.md +++ b/README.md @@ -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 :)