]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
Build: Add `remote-work-bio-lj.html` as another special html file
authorOleg Broytman <phd@phdru.name>
Mon, 13 Apr 2020 21:24:43 +0000 (00:24 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 13 Apr 2020 21:24:43 +0000 (00:24 +0300)
Makefile

index 907ee0a69415f50e3532d2b14e7794fde2c424fa..aecb84e309502f3eb80c9bffe8f287f9dc32e5ff 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,10 +58,16 @@ $(SITEMAP): $(allfiles)
 
 
 .PHONY: special-templates
-special-templates: ../htdocs/phdru.name/Russian/Software/instant-messengers/instant-messengers-lj.html
+special-templates: ../htdocs/phdru.name/Russian/Software/instant-messengers/instant-messengers-lj.html ../htdocs/phdru.name/Russian/remote-work-bio/remote-work-bio-lj.html
 
 ../htdocs/phdru.name/Russian/Software/instant-messengers/instant-messengers-lj.html: ../htdocs/phdru.name/Russian/Software/instant-messengers/instant-messengers.html
        { sed -e '1,/alink="#ff0000">/d' \
           -e 's/<div class="section" id="icq">/<lj-cut text="IM">&/' \
           -e '/<hr width="90%">/,$$d' $< | sed '1,2d'; \
          echo '</lj-cut>'; } >$@
+
+../htdocs/phdru.name/Russian/remote-work-bio/remote-work-bio-lj.html: ../htdocs/phdru.name/Russian/remote-work-bio/remote-work-bio.html
+       { sed -e '1,/alink="#ff0000">/d' \
+          -e 's/<div class="section" id="i">/<lj-cut text="АвтоБио...">&/' \
+          -e '/<hr width="90%">/,$$d' $< | sed '1,2d'; \
+         echo '</lj-cut>'; } >$@