diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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/ |