# Makefile for Hackers' Heaven
#

### Web config boilerplate

TOPDIR=../../../../..
MYNAME=hackers
DOTDOT=www/Steve_Savitzky/Albums
SRCDIR=../../../.
MF_DIR=$(TOPDIR)/Config/makefiles

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 files when we're
#	working on stuff related to the CD.

PUBFILES=$(FILES) \
	$(wildcard *.mp3) 	\
	$(wildcard *.ogg)	\
	$(wildcard *.jpg)	\
	$(wildcard *.png)

### Filk/recording boilerplate

TOOLDIR		= ../../Tools

### Short name, long (cannonical directory) name, title
#	The short name is the same as the name of this directory,
#	and is used to refer to this album in scripts and makefiles.

SHORTNAME	= hackers
LONGNAME	= Hackers_Heaven
TITLE		= Hackers Heaven

PUBLISHER	= HyperSpace Express


### 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


