]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
Feat(Makefile): Add target `clean-html`
authorOleg Broytman <phd@phdru.name>
Sat, 15 Jun 2024 16:09:21 +0000 (19:09 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 15 Jun 2024 16:10:26 +0000 (19:10 +0300)
Makefile

index f3909120a78746264df3adb891932a4a96471345..def5c6ca184f757537f7087859943154fb7962f9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
 # This file is a part of phdru.name homepage/blog/news generator scripts.
 
 # __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2006-2017 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2006-2024 PhiloSoft Design"
 
 
 .SUFFIXES: # Clear the suffix list
@@ -77,3 +77,7 @@ special-templates: ../htdocs/phdru.name/Russian/Software/instant-messengers/inst
           -e 's/<div class="section" id="ii">/<lj-cut text="Никто не обещал райского сада...">&/' \
           -e '/<hr width="90%">/,$$d' $< | sed '1,2d'; \
          echo '</lj-cut>'; } >$@
+
+.PHONY: clean-html
+clean-html:
+       find ../htdocs/phdru.name/ -type f -name \*.html -delete