garbash-www

archive of ~alex garbash.com page
git clone git://git.alexkarle.com.com/garbash-www
Log | Files | Refs | README | LICENSE

Makefile (1142B) [raw]


      1 BUILT = index.html \
      2 	root-index.html \
      3 	notes/001-domain-name.html \
      4 	notes/001-domain-name.txt \
      5 	notes/002-install.html \
      6 	notes/002-install.txt \
      7 	notes/003-httpd.html \
      8 	notes/003-httpd.txt \
      9 	notes/004-mail-server.html \
     10 	notes/004-mail-server.txt \
     11 	notes/005-ssh-hardening.html \
     12 	notes/005-ssh-hardening.txt \
     13 	notes/006-use-the-src.html \
     14 	notes/006-use-the-src.txt \
     15 	notes/007-git-coding.html \
     16 	notes/007-git-coding.txt \
     17 	notes/008-local-irc.html \
     18 	notes/008-local-irc.txt \
     19 	notes/009-wireguard.html \
     20 	notes/009-wireguard.txt \
     21 	notes/010-irc-bouncer.html \
     22 	notes/010-irc-bouncer.txt \
     23 	notes/011-backups.html \
     24 	notes/011-backups.txt \
     25 	notes/012-mailing-lists.html \
     26 	notes/012-mailing-lists.txt \
     27 	notes/013-wildcard-cert.html \
     28 	notes/013-wildcard-cert.txt
     29 
     30 build: $(BUILT)
     31 
     32 clean:
     33 	rm -f $(BUILT)
     34 
     35 release:
     36 	rsync -av ./ alexkarle.com:/var/www/htdocs/www/garbash/~alex/
     37 
     38 $(BUILT): Makefile bin/buildpage
     39 
     40 .SUFFIXES: .md .html .txt
     41 .md.html:
     42 	./bin/buildpage $< > $@
     43 
     44 # Legacy txt symlinks since it's linked externally!
     45 .md.txt:
     46 	cd `dirname $<` && ln -sf `basename $<` `basename $@`
     47 
     48 
     49 .PHONY: all clean install release