diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 14 | ||||
-rwxr-xr-x | scripts/paku | 7 |
2 files changed, 12 insertions, 9 deletions
@@ -24,14 +24,16 @@ dev-check: check sh aux/workflow/assert-readme.sh $(NAME) $(MAILING_LIST) clean: - rm -rf public/ dependencies.svg paku.html + rm -rf public/ -dependencies.svg: dependencies.dot - dot dependencies.dot -Tsvg > dependencies.svg +public/dependencies.svg: dependencies.dot + mkdir -p public + dot dependencies.dot -Tsvg > public/dependencies.svg -paku.html: paku.json +public/paku.html: paku.json + mkdir -p public sh scripts/paku -l -public: README.md TODOs.md dependencies.svg paku.html +public: README.md TODOs.md public/dependencies.svg public/paku.html sh aux/workflow/public.sh "EuAndreh's package repository" $(NAME) $(MAILING_LIST) - cp EuAndreh.key dependencies.svg paku.html public/ + cp EuAndreh.key public/ diff --git a/scripts/paku b/scripts/paku index 939db80..4f40b4d 100755 --- a/scripts/paku +++ b/scripts/paku @@ -240,7 +240,8 @@ refresh_packages() { } report_index() { - cat <<EOF > paku.html + HTML_OUT='public/paku.html' + cat <<EOF > "$HTML_OUT" <!DOCTYPE html> <html lang="en"> <head> @@ -277,7 +278,7 @@ EOF ID='latest' fi - cat <<EOF >> paku.html + cat <<EOF >> "$HTML_OUT" <li id="$NAME-$ID"> <details> <summary><a href="#$NAME-$ID">$NAME</a> ($VERSION) - $DESCRIPTION</summary> @@ -341,7 +342,7 @@ EOF EOF done - cat <<EOF >> paku.html + cat <<EOF >> "$HTML_OUT" </ul> </body> </html> |