#
# Makefile to generate the website
#
INSTALL_DIR := username@mymachine.com:public_html/wand
default: install
help:
@echo "TAGETS"
@echo "------"
@echo "default - same as install"
@echo "install - make 'all' and then copy to rawbw"
@echo "all - make all targets (same as 'make website')"
@echo "website - generate all web pages into website directory"
@echo "quick - just generate index.html"
@echo "just_install - just copy website/* to rawbw"
@echo ""
install: all
scp website/* $(INSTALL_DIR)
just_install: FORCE
scp website/* $(INSTALL_DIR)
all: website
echo "Did all"
quick: FORCE
mkdir -p $@
./do_doc -nosource
cp *.html $@
website: FORCE
mkdir -p $@
./do_doc
echo "" > dummy.html
cp *.html $@
cp *.png $@
cp *.jpg $@
cp ../instructions/*.html $@
cp ../instructions/*.png $@
cp ../*.txt $@
$(MAKE) -C .. dist
cp ../*.tgz $@
clean:
rm source.seds
rm dummy.html
FORCE: ;
.PHONY: FORCE
|