HTMS1 = brewing.html recorder.html serpent.html mysetup.html index.html HTMS2 = japanbeer.html travels.html isp.html laymusic.html dialup.html HTMS3 = ip-up.html serp95art.html spainbeer.html jewel-index.html HTMS4 = fetchmail.html qmail.html contact.html whatsnew.html resume.html HTMS5 = grandtour.html brussels.html poznan.html kaiserslautern.html cologne.html HTMS6 = leafnode.html webauth.html HTMS = $(HTMS1) $(HTMS2) $(HTMS3) $(HTMS4) $(HTMS5) $(HTMS6) top: make htms # turn the .htm files I actually write into # .html files with headers and footers. make localmirror # transfer everything in the actual url tree #to the mirror directory htms: make $(HTMS) localmirror: cd /home/httpd/html/lconrad; \ # Index is actually a slightly transformed homepage.html, # which can't be used as the base of the tree because # the transformation involves saying that all the html is on my isp. wget --mirror -o mirror.log http://localhost/lconrad/homepage/index.html;\ # here's where we actually mirror the tree wget --mirror -a mirror.log http://localhost/lconrad/homepage/homepage.html index.html: homepage.htm homepage2index.sh signpage.sh ./signpage.sh homepage.htm >homepage.html ./homepage2index.sh pictures: $(PICTURES) cd pictures; make thumbnails: $(THUMBNAILS) cd thumbnails; make sentlast: $(HTMS) /home/lconrad/bin/upload_mirror.sh clean: rm $(HTMS) .SUFFIXES: .htm .html .htm.html: ./signpage.sh $*.htm >$*.html