#---------------------------------------------------------------------
#     Copyright (C) GFD Dennou Club, 2005. All rights reserved.
#---------------------------------------------------------------------
#= Generate file list
#
# * Yasuhiro Morikawa, Masaki Ishiwatari
#   * 2005/06/12 (Yasuhiro Morikawa) Assigning tasks
#
######################################################################
#
#== Settings

RUBY        = ruby1.8            # Path to Ruby   (necessary)

# Commands for filelist-html.rb  (necessary)
LISTCOMMAND = /GFD_Dennou_Club/ftp/arch/dcmodel/bin/filelist-html.rb

# Cascade Style Sheet (necessary)
CSS         = /library/dcmodel/htmltools/dcmodel.css

# Index file name     (necessary)
INDEX       = memo.htm

# Recognize extension list
EXTLIST     = htm tex txt htm.ja

# End Settings
######################################################################

######################################################################
# Rules
all: clean.all $(INDEX)

$(INDEX):
	$(LISTCOMMAND) --output $@ --style $(CSS) $(EXTLIST)

clean:
	-rm -f *~ *.bak

clean.all: clean
	-rm $(INDEX)
