aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-20 10:40:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-20 10:40:27 -0300
commitfe5bb0e9544da51a8cf6b513031fa8b3709c4838 (patch)
tree53b742cb23ee32f2c2c6258b3a94efa021242313 /Makefile
parente8c773aa03892bc905eefe8831c04b67c7978f6a (diff)
downloadfirma-fe5bb0e9544da51a8cf6b513031fa8b3709c4838.tar.gz
firma-fe5bb0e9544da51a8cf6b513031fa8b3709c4838.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..54cab85
--- /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/ firma:/var/sites/firma/www/