aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-12-11 10:54:09 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-12-11 10:54:09 -0300
commit98ebe1f9bdcad8c85ea0cb2030dd81a47486a023 (patch)
treebe178d405ef8390f47ba40d4824ca7fae13d10f7
parentaa7e9396a8dfc8931573713acca57200f1f880fa (diff)
downloadtemplates-98ebe1f9bdcad8c85ea0cb2030dd81a47486a023.tar.gz
templates-98ebe1f9bdcad8c85ea0cb2030dd81a47486a023.tar.bz2
Minor fixes
-rw-r--r--Makefile10
-rwxr-xr-xscripts/watch2
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 6dbbd98..2342c85 100644
--- a/Makefile
+++ b/Makefile
@@ -23,11 +23,11 @@ endif
# See http://unix.stackexchange.com/questions/32182/simple-command-line-http-server#32200
# http://php.net/manual/en/features.commandline.webserver.php
-serve:
- @if [ "$(HTTP_SERVER)" = "SimpleHTTPServer" ]; then python -m SimpleHTTPServer $(HTTP_PORT); fi
- @if [ "$(HTTP_SERVER)" = "ssi_server" ]; then PYTHONDONTWRITEBYTECODE=0 ssi_server.py $(HTTP_PORT); fi
- @if [ "$(HTTP_SERVER)" = "http.server" ]; then python3 -m http.server $(HTTP_PORT); fi
- @if [ "$(HTTP_SERVER)" = "php" ]; then php -S localhost:$(HTTP_PORT); fi
+#serve:
+# @if [ "$(HTTP_SERVER)" = "SimpleHTTPServer" ]; then python -m SimpleHTTPServer $(HTTP_PORT); fi
+# @if [ "$(HTTP_SERVER)" = "ssi_server" ]; then PYTHONDONTWRITEBYTECODE=0 ssi_server.py $(HTTP_PORT); fi
+# @if [ "$(HTTP_SERVER)" = "http.server" ]; then python3 -m http.server $(HTTP_PORT); fi
+# @if [ "$(HTTP_SERVER)" = "php" ]; then php -S localhost:$(HTTP_PORT); fi
# Configure a git post-receive hook
post_receive:
diff --git a/scripts/watch b/scripts/watch
index cb7f290..b0b3c50 100755
--- a/scripts/watch
+++ b/scripts/watch
@@ -7,7 +7,7 @@
BASENAME="`basename $0`"
DIRNAME="$(cd `dirname $0` &> /dev/null && pwd)"
BASEDIR="$DIRNAME/.."
-WATCHED="branches"
+WATCHED="docs"
# Got to the base folder
cd $BASEDIR