# Makefile for album working directory # ### Web config boilerplate TOPDIR=../../../../.. MYNAME=$(shell basename `/bin/pwd`) DOTDOT=www/Steve_Savitzky/Albums SRCDIR=../../../. MF_DIR=$(TOPDIR)/Config/makefiles ### Short name, long (cannonical directory) name, title # This should be all you need to customize, # and should probably be in separate file. SHORTNAME = $(MYNAME) LONGNAME = Quiet_Victories TITLE = Quiet Victories PUBLISHER = HyperSpace Express FILES= Makefile notes \ $(wildcard *.html) \ $(wildcard *list) \ $(wildcard *tracks) # PUBFILES is separate (except in the web directory) # because we don't want to build the compressed audio files # when we're trying to make a test burn of the CD. PUBFILES=$(FILES) \ $(wildcard *.mp3) \ $(wildcard *.ogg) \ $(wildcard *.jpg) \ $(wildcard *.png) ### Filk/recording boilerplate TOOLDIR = ../../Tools ### 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:: $(FILES)