# 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)
# 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