Add static + changes for bw compat
This commit is contained in:
16
Makefile
16
Makefile
@@ -1,15 +1,19 @@
|
||||
DISTDIR := $(shell pwd)
|
||||
TEMPLATE_DIR := $(DISTDIR)/templates
|
||||
SCRIPT_DIR := $(DISTDIR)/scripts
|
||||
BUILDDIR := $(DISTDIR)/build
|
||||
DISTDIR ?= $(shell pwd)
|
||||
TEMPLATE_DIR ?= $(DISTDIR)/templates
|
||||
SCRIPT_DIR ?= $(DISTDIR)/scripts
|
||||
BUILDDIR ?= $(DISTDIR)/build
|
||||
|
||||
export
|
||||
|
||||
PAGES := $(wildcard pages/*)
|
||||
|
||||
all: $(PAGES)
|
||||
all: $(PAGES) static
|
||||
|
||||
$(PAGES):
|
||||
$(MAKE) -C $@
|
||||
|
||||
.PHONY: all $(PAGES)
|
||||
static:
|
||||
@mkdir -p $(BUILDDIR)
|
||||
cp -r static $(BUILDDIR)
|
||||
|
||||
.PHONY: all $(PAGES) static
|
||||
|
Reference in New Issue
Block a user