stagit-repositories

The Stagit repositories site generator you see at https://kaka.farm/~stagit/ or wheverer the fuck it is now.
git clone https://kaka.farm/~git/stagit-repositories
Log | Files | Refs

Makefile (572B)


      1 repodir = ~/foo
      2 $(guile (load "repository-list.scm"))
      3 repositories = $(guile repositories)
      4 
      5 .PHONY: all
      6 all: $(repositories) index.html
      7 
      8 index.html:
      9 	stagit-index $(addprefix $(repodir)/,$(repositories)) > $@
     10 
     11 $(repositories):
     12 	mkdir -p $@; cd $@; stagit -u https://kaka.farm/~stagit/ ~/foo/$@
     13 
     14 upload: all index.html
     15 	for repository in $(repositories); do cp logo.png favicon.png style.css $$repository/ ; done
     16 	rsync -Prv --delete style.css favicon.png logo.png $(repositories) index.html stagit@kaka.farm:public_html/
     17 	ssh git@kaka.farm 'sh -s' < update-server-info.sh