diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/templater/templater/files/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/share/templater/templater/files/Makefile b/share/templater/templater/files/Makefile index b6890f7..fe75ca7 100644 --- a/share/templater/templater/files/Makefile +++ b/share/templater/templater/files/Makefile @@ -5,6 +5,9 @@ # any Makefile.* available in the current folder. # +# Port to serve content +PORT="8000" + # Set CONTAINER based in what we have available in the system # This variable can be user in other, included Makefiles to handle virtualization tasks ifeq ($(shell which kvmx > /dev/null && test -s kvmxfile && echo yes), yes) @@ -20,7 +23,8 @@ endif # See http://unix.stackexchange.com/questions/32182/simple-command-line-http-server#32200 # http://php.net/manual/en/features.commandline.webserver.php serve: - python -m SimpleHTTPServer + python -m SimpleHTTPServer $(PORT) + #python -m SimpleHTTPServer # Or the Python 3 equivalent #python3 -m http.server #php -S localhost:8000 |