#
# Makefile for my HTML
#
#

#
# Include standard MakeConfig configuration for GNU make required
#

#include Make/make.cfg.2.2

LOCAL_HTML_DIR = $(HOME)/public_html
SCRS=$(LOCAL_HTML_DIR)/usenet/scrs
ALT_LOVE=$(LOCAL_HTML_DIR)/usenet/alt.love
SCRS_FOLKS      = scrs-folks
ALT_LOVE_FOLKS	= alt.love-folks

SCRS_WP         = $(SCRS)/wp/$(SCRS_FOLKS).html
ALT_LOVE_WP	= $(ALT_LOVE)/wp/$(ALT_LOVE_FOLKS).html

#

all: html move

html: $(SCRS_WP) $(ALT_LOVE_WP)

$(SCRS_WP): white-pages.hdr $(SCRS_FOLKS).lst
	rm -f $@
	CreateYellowPages.pl $(SCRS_FOLKS) $(SCRS_FOLKS).lst > $@
	chmod 644 $@

$(ALT_LOVE_WP): white-pages.hdr $(ALT_LOVE_FOLKS).lst
	rm -f $@
	CreateYellowPages.pl $(ALT_LOVE_FOLKS) 	\
			     $(ALT_LOVE_FOLKS).lst 	> $@
	chmod 644 $@


move:
	move2gal
