BUILT = index.html \
root-index.html \
notes/001-domain-name.html \
notes/001-domain-name.txt \
notes/002-install.html \
notes/002-install.txt \
notes/003-httpd.html \
notes/003-httpd.txt \
notes/004-mail-server.html \
notes/004-mail-server.txt \
notes/005-ssh-hardening.html \
notes/005-ssh-hardening.txt \
notes/006-use-the-src.html \
notes/006-use-the-src.txt \
notes/007-git-coding.html \
notes/007-git-coding.txt \
notes/008-local-irc.html \
notes/008-local-irc.txt \
notes/009-wireguard.html \
notes/009-wireguard.txt \
notes/010-irc-bouncer.html \
notes/010-irc-bouncer.txt \
notes/011-backups.html \
notes/011-backups.txt \
notes/012-mailing-lists.html \
notes/012-mailing-lists.txt \
notes/013-wildcard-cert.html \
notes/013-wildcard-cert.txt
build: $(BUILT)
clean:
rm -f $(BUILT)
release:
rsync -av ./ alexkarle.com:/var/www/htdocs/www/garbash/~alex/
$(BUILT): Makefile bin/buildpage
.SUFFIXES: .md .html .txt
.md.html:
./bin/buildpage $< > $@
# Legacy txt symlinks since it's linked externally!
.md.txt:
cd `dirname $<` && ln -sf `basename $<` `basename $@`
.PHONY: all clean install release