lurkers-guide/Makefile

21 lines
530 B
Makefile

B5DIR=/home/woodstock/ftp/pub/Babylon-5
all: commit lurker-nobg.html subdirs
commit:
@-/usr/bin/git diff-files --quiet || /usr/bin/git commit -a -q -m "Automatic commit of changes"
lurker-nobg.html: lurker.html
sed -e 's/ BGSTART.*BGEND//' -e '/BGLINK/d' < lurker.html > $@
subdirs:
@(cd guide; make)
@(cd comic; make)
@(cd synops; make)
@(cd novels; make)
tvlist: $(B5DIR)/b5tvlist.txt
$(B5DIR)/b5tvlist.txt: reference/tvl.html
/opt/local/bin/lynx -nolist -dump http://www.midwinter.com/lurk/reference/tvl.html > $@