aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-08-01 15:48:35 -0300
committerArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-08-01 15:48:35 -0300
commit0f550d37ddefe241e19051ae95905dbae79427d5 (patch)
tree15b1f47b469cd2eb484adb31a0ef2cff24f89bd8
parent2b350538a62401de5785d55a2b08727f94fc0e7f (diff)
downloadarquivo-0f550d37ddefe241e19051ae95905dbae79427d5.tar.gz
arquivo-0f550d37ddefe241e19051ae95905dbae79427d5.tar.bz2
Makefile: post_update target
-rw-r--r--Makefile3
-rw-r--r--documentacao.mdwn5
-rw-r--r--documentacao/index.html10
-rw-r--r--index.rss10
4 files changed, 23 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a985d64..c5699a6 100644
--- a/Makefile
+++ b/Makefile
@@ -20,3 +20,6 @@ web:
web_deploy:
@rsync -avz --delete ./ arquivo:/var/cache/sites/arquivo/
+
+post_update: .git/hooks/post-update
+ cd .git/hooks && ln -sf ../../bin/post-update
diff --git a/documentacao.mdwn b/documentacao.mdwn
index 22d8838..40fd30f 100644
--- a/documentacao.mdwn
+++ b/documentacao.mdwn
@@ -22,7 +22,10 @@ Notar que:
Criando o sistema
-----------------
-O sistema foi criado usando [esta dica](http://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/) e usando [este post-update hook](/bin/post-update).
+* O sistema foi criado usando [esta dica](http://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/).
+* Ele usa [este post-update hook](/bin/post-update), que pode ser instalado usando
+
+ make post_update
Atualização automática
----------------------
diff --git a/documentacao/index.html b/documentacao/index.html
index cac8c49..1c5e885 100644
--- a/documentacao/index.html
+++ b/documentacao/index.html
@@ -93,7 +93,13 @@
<h2>Criando o sistema</h2>
-<p>O sistema foi criado usando <a href="http://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/">esta dica</a> e usando <a href="/bin/post-update">este post-update hook</a>.</p>
+<ul>
+<li>O sistema foi criado usando <a href="http://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/">esta dica</a>.</li>
+<li><p>Ele usa <a href="/bin/post-update">este post-update hook</a>, que pode ser instalado usando</p>
+
+<p> make post_update</p></li>
+</ul>
+
<h2>Atualização automática</h2>
@@ -167,7 +173,7 @@ cd arquivo &amp;&amp; git annex init SERVIDOR
<!--<div class="pagedate">
- Last edited <span class="date">Sáb 01 Ago 2015 14:59:56 BRT</span>
+ Last edited <span class="date">Sáb 01 Ago 2015 15:48:15 BRT</span>
</div> -->
</div>
diff --git a/index.rss b/index.rss
index d6c57c0..0c5aedb 100644
--- a/index.rss
+++ b/index.rss
@@ -16,7 +16,7 @@
<link>https://arquivo.sarava.org/documentacao/</link>
<pubDate>Sat, 01 Aug 2015 14:39:12 -0300</pubDate>
- <dcterms:modified>2015-08-01T17:59:56Z</dcterms:modified>
+ <dcterms:modified>2015-08-01T18:48:15Z</dcterms:modified>
<description>&lt;ul&gt;
&lt;li&gt;Rede de curadorias.&lt;/li&gt;
@@ -45,7 +45,13 @@
&lt;h2&gt;Criando o sistema&lt;/h2&gt;
-&lt;p&gt;O sistema foi criado usando &lt;a href=&quot;http://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/&quot;&gt;esta dica&lt;/a&gt; e usando &lt;a href=&quot;https://arquivo.sarava.org/bin/post-update&quot;&gt;este post-update hook&lt;/a&gt;.&lt;/p&gt;
+&lt;ul&gt;
+&lt;li&gt;O sistema foi criado usando &lt;a href=&quot;http://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/&quot;&gt;esta dica&lt;/a&gt;.&lt;/li&gt;
+&lt;li&gt;&lt;p&gt;Ele usa &lt;a href=&quot;https://arquivo.sarava.org/bin/post-update&quot;&gt;este post-update hook&lt;/a&gt;, que pode ser instalado usando&lt;/p&gt;
+
+&lt;p&gt; make post_update&lt;/p&gt;&lt;/li&gt;
+&lt;/ul&gt;
+
&lt;h2&gt;Atualização automática&lt;/h2&gt;