Makefile
changeset 1891 471406f3c69c
parent 1890 0efdd506cdda
child 1893 da0024f4f068
--- a/Makefile	Sat Feb 20 02:02:43 2016 +0200
+++ b/Makefile	Sat Feb 20 02:42:01 2016 +0200
@@ -100,9 +100,11 @@
 
 $(HTML_DIR)/iframe.html: $(RST_FILES) $(MAKEFILE_LIST) | $(HTML_DIR)
 	{ \
-echo '<html><head></head><body>'; \
+echo '<html><head><style>'; \
+echo 'a { text-decoration: none; color: hsl(240, 100%, 50%); }'; \
+echo '</style></head><body>'; \
 echo '<ul style="padding-left: 1em;">'; \
-for f in $(RST_FILES); do \
+for f in $(sort $(RST_FILES)); do \
   n=$${f%.rst}; \
   printf '<li><a target="_parent" href="%s.html">%s</a></li>' $$n $$n; \
 done; \
@@ -117,15 +119,17 @@
 echo '  <div id="sidebar"><iframe src="iframe.html"></iframe></div>'; \
 echo; \
 echo '.. _About: README.html'; \
-echo '.. _`About author`: http://resume.defun.work/'; \
+echo '.. _`Contacts`: http://resume.defun.work/'; \
 echo '.. _`Oleksandr Gavenko`: http://resume.defun.work/'; \
 echo '.. _`gavenkoa`: http://resume.defun.work/'; \
 echo '.. _Licence: README.html#tips-licence'; \
-echo '.. _`Contact`: gavenkoa@gmail.com'; \
+echo; \
+echo '.. container:: header'; \
 echo; \
-echo '[ About_ | Licence_ | `About author`_ | `Contact`_ ]'; \
+echo '  [ About_ | Licence_ | `Contacts`_ ]'; \
+echo '.. container:: header small'; \
 echo; \
-echo 'Written by Oleksandr Gavenko (AKA gavenkoa), compiled at ``'`date +%F`'`` from rev ``'`hg id -i`'``.'; \
+echo '  Written by Oleksandr Gavenko (AKA gavenkoa), compiled at ``'`date +%F`'`` from rev ``'`hg id -i`'``.'; \
 } >$@
 
 $(HTML_DIR)/frame-index.html: index.sh $(RST_HTML_FILES) $(MAKEFILE_LIST) | $(HTML_DIR)