# Makefile for Concerts/Baycon-2008 # $Id$ ### Web config boilerplate === broken TOPDIR=../../../../.. MYNAME=05-Baycon DOTDOT=www/Steve_Savitzky/Concerts SRCDIR=../../../. MF_DIR=$(TOPDIR)/Config/makefiles FILES= Makefile $(wildcard *notes) \ $(wildcard *.html) \ $(wildcard *.list) \ $(wildcard *.ogg) \ $(wildcard *.mp3) \ $(wildcard *.jpg) \ $(wildcard *songs) PUBFILES=$(FILES) ### Filk/recording boilerplate TOOLDIR = ../../Tools ### title # There's no shortname, because there's no need to tie this directory # together with corresponding tracks and songs. Consequently there's # no need for a longname -- it's just the directory name $(MYNAME) TITLE = Tres Gique at Baycon 2008 TRACKLIST_FLAGS = ### Include appropriate makefile rules # Depending on whether we're in a website or a recording tree # It's better to look for $(SRCDIR)/WURM.cf then $(MF_DIR), since # at some point MF_DIR and TOOLDIR may get merged. ifeq ($(shell [ -f $(SRCDIR)/WURM.cf ] || echo notweb),) include $(MF_DIR)/file.make include $(MF_DIR)/webdir.make else include $(TOOLDIR)/album.make include $(TOOLDIR)/publish.make endif #all:: $(MYNAME).html $(MYNAME).list ### Expand templates ifeq ($(shell [ -f HEADER.html ] && echo 1), 1) HEADER.html: $(TOOLDIR)/replace-template-file.pl $< $@ endif ### Expand templates ifeq ($(shell [ -f index.html ] && echo 1), 1) index.html: tracks.html $(TOOLDIR)/replace-template-file.pl $< $@ endif