make most vars immediate
This commit is contained in:
parent
ecaba4e33d
commit
9e98398830
1 changed files with 13 additions and 13 deletions
26
Makefile
26
Makefile
|
@ -1,30 +1,30 @@
|
|||
DATADIR = data
|
||||
TMPDIR = _tmp
|
||||
BUILDDIR = _build
|
||||
INFONAME = info.yaml
|
||||
ROOT = https://gallery.niss.website
|
||||
DATADIR := data
|
||||
TMPDIR := _tmp
|
||||
BUILDDIR := _build
|
||||
INFONAME := info.yaml
|
||||
ROOT := https://gallery.niss.website
|
||||
|
||||
# SMALL = thumbnails, MED = single pages (link to full size)
|
||||
SMALL := 200
|
||||
MEDW := 1000
|
||||
MEDH := 1200
|
||||
|
||||
MAKEPAGES = $(TMPDIR)/make-pages
|
||||
MAKEPAGES := $(TMPDIR)/make-pages
|
||||
|
||||
YAMLS != find $(DATADIR) -name $(INFONAME)
|
||||
|
||||
SCRIPTS := $(wildcard script/*.js)
|
||||
|
||||
STYLES := $(wildcard style/*.css)
|
||||
STYLESVGS = $(wildcard style/*.svg)
|
||||
STYLEPNGS = $(wildcard style/*.png)
|
||||
STYLES := $(wildcard style/*.css)
|
||||
STYLESVGS := $(wildcard style/*.svg)
|
||||
STYLEPNGS := $(wildcard style/*.png)
|
||||
|
||||
FONTS := $(shell find fonts \
|
||||
-iname '*.eot' -or -iname '*.svg' -or \
|
||||
-iname '*.ttf' -or -iname '*.woff' -or \
|
||||
-iname '*.woff2' -or -iname '*.css')
|
||||
|
||||
STATIC := $(SCRIPTS) $(STYLES) $(STYLEPNGS) $(STYLESVGS) $(FONTS)
|
||||
STATIC := $(SCRIPTS) $(STYLES) $(STYLEPNGS) $(STYLESVGS) $(FONTS)
|
||||
BSTATIC := $(patsubst %,$(BUILDDIR)/%,$(STATIC))
|
||||
|
||||
.PHONY: all build
|
||||
|
@ -74,10 +74,10 @@ distclean: clean
|
|||
rm -rf dist-newstyle
|
||||
|
||||
|
||||
HOST ?= gallery.niss.website
|
||||
HOST ?= gallery.niss.website
|
||||
REMOTE_USER ?= www-data
|
||||
IDFILE ?= ~/.ssh/xyz
|
||||
REMOTE_DIR ?= gallery
|
||||
IDFILE ?= ~/.ssh/xyz
|
||||
REMOTE_DIR ?= gallery
|
||||
|
||||
.PHONY: upload
|
||||
upload: build
|
||||
|
|
Loading…
Reference in a new issue