aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-07-13 10:47:25 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-07-13 10:47:25 -0300
commit91124566752b3443c77cc665b0a20bc3eaf19dda (patch)
tree594f58eece627a83bcd5b6bc7839b302a0ba35a8 /Makefile
parentb882fda4f4b9a9c50402c974c24cdf7ca2e812c4 (diff)
downloaddebian-91124566752b3443c77cc665b0a20bc3eaf19dda.tar.gz
debian-91124566752b3443c77cc665b0a20bc3eaf19dda.tar.bz2
Static site generation support using ikiwiki
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..7fb2cc6
--- /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
+#
+
+web:
+ @ikiwiki --setup ikiwiki.setup
+
+web_deploy:
+ @rsync -avz --delete www/ blog:/var/sites/blog/www/