aboutsummaryrefslogtreecommitdiff
path: root/share/templater/templater
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-17 10:19:41 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-17 10:19:41 -0200
commit9ece5a26c95e040e1ddc4d1095fb0e7fdfaf4efc (patch)
tree1da308d7bd6f45b2f3854464c895164f1eea1ccf /share/templater/templater
parent36d2c36e422a416cf976e490ff9df2fdc1b65aca (diff)
downloadtemplater-9ece5a26c95e040e1ddc4d1095fb0e7fdfaf4efc.tar.gz
templater-9ece5a26c95e040e1ddc4d1095fb0e7fdfaf4efc.tar.bz2
Adds post_receive target into main Makefile
Diffstat (limited to 'share/templater/templater')
-rw-r--r--share/templater/templater/files/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/templater/templater/files/Makefile b/share/templater/templater/files/Makefile
index a53fcbb..02c7af6 100644
--- a/share/templater/templater/files/Makefile
+++ b/share/templater/templater/files/Makefile
@@ -13,6 +13,9 @@ serve:
#python3 -m http.server
#php -S localhost:8000
+post_receive:
+ test -s bin/post-receive && cd .git/hooks && ln -sf ../../bin/post-receive
+
# Process any other Makefile whose filename matches Makefile.*
# See https://www.gnu.org/software/make/manual/html_node/Include.html
-include Makefile.*