From: Oleg Broytman Date: Sat, 15 Jun 2024 16:09:21 +0000 (+0300) Subject: Feat(Makefile): Add target `clean-html` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=e4d529b9ee404a8ee0e4b7b1ddc2bcf338b4efcd;p=phdru.name%2Fphdru.name.git Feat(Makefile): Add target `clean-html` --- diff --git a/Makefile b/Makefile index f390912..def5c6c 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # This file is a part of phdru.name homepage/blog/news generator scripts. # __author__ = "Oleg Broytman " -# __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/
/&/' \ -e '/
/,$$d' $< | sed '1,2d'; \ echo '
'; } >$@ + +.PHONY: clean-html +clean-html: + find ../htdocs/phdru.name/ -type f -name \*.html -delete