summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7f94b50..a1e6d09 100644
--- a/Makefile
+++ b/Makefile
@@ -26,13 +26,16 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
-MD=markdown_py
+MD=Markdown.pl
.SUFFIXES: .md .html
articles!=ls *.md
articles_html = ${articles:.md=.html}
site : index about $(articles_html)
+ @echo "Copying static resources"
@cp static/favicon.ico output/
+ @mkdir -p output/static
+ @cp static/passthrough/* output/static
@echo "done"
index :
@@ -69,5 +72,8 @@ about :
clean :
rm -rf output/*
+serve :
+ python3 -m http.server 8080 --directory output/
+
upload :
rsync -avc --delete output/ vincent@blog.vdouillet.fr:/var/www/htdocs/blog/