aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-20 10:51:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-20 10:51:10 -0300
commitdcb4dbfe0fdcbd8ae394b3e50f65a05c21b7ebf9 (patch)
tree294d4976ea39dc0b68aedc366101716482d27b0e /Makefile
parent41377d9b2da55f455a67cecc4a6e7c48e0417580 (diff)
downloadbootless-dcb4dbfe0fdcbd8ae394b3e50f65a05c21b7ebf9.tar.gz
bootless-dcb4dbfe0fdcbd8ae394b3e50f65a05c21b7ebf9.tar.bz2
Support for static site generation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f59d652
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+#
+# Ikiwiki Makefile by Silvio Rhatto (rhatto at riseup.net).
+#
+# This Makefile is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the Free
+# Software Foundation; either version 3 of the License, or any later version.
+#
+# This Makefile is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+wiki:
+ @ikiwiki --setup ikiwiki.setup
+
+wiki_deploy:
+ @rsync -avz --delete www/ bootless:/var/sites/bootless/www/