diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/makefile b/makefile deleted file mode 100644 index a3a1eff..0000000 --- a/makefile +++ /dev/null @@ -1,30 +0,0 @@ -SITE ?= jturnerusa.dev - -PREFIX ?= / -DESTDIR ?= /var/www - -EMACS ?= emacs -ARGS = -batch -e "org-html-export-to-html" - -all: index.html blog/index.html blog/gentoo-on-gcloud.html blog/access-control.html - -index.html: index.org - $(EMACS) $< $(ARGS) - -blog/index.html: blog/index.org - $(EMACS) $< $(ARGS) - -blog/gentoo-on-gcloud.html: blog/gentoo-on-gcloud.org - $(EMACS) $< $(ARGS) - -blog/access-control.html: blog/access-control.org - $(EMACS) $< $(ARGS) - -install: all - install --mode 644 -D robots.txt --target-directory $(PREFIX)/$(DESTDIR)/$(SITE)/ - install --mode 644 -D sitemap.txt --target-directory $(PREFIX)/$(DESTDIR)/$(SITE)/ - install --mode 644 -D *.html --target-directory $(PREFIX)/$(DESTDIR)/$(SITE)/ - install --mode 644 -D blog/*.html --target-directory $(PREFIX)/$(DESTDIR)/$(SITE)/blog/ - -clean: - rm *.html blog/*.html |