Browse Source

Fixed makefile to match media asset directories.

master
Daniel Sissom 3 months ago
parent
commit
fce9c6e4d5
Signed by: djsissom GPG Key ID: 2C30FFB796852389
1 changed files with 5 additions and 5 deletions
  1. + 5
    - 5
      Makefile

+ 5
- 5
Makefile

@ -42,14 +42,14 @@ JQUERY_VERSION = 1.12.0
IMG = cp IMG = cp
IMGFLAGS = IMGFLAGS =
IMGFLAGS_PROD = IMGFLAGS_PROD =
IMGSRCDIR = $(SRCDIR)/assets/media/img
IMGDIR = $(BUILDDIR)/assets/media/img
IMGSRCDIR = $(SRCDIR)/assets/media/images
IMGDIR = $(BUILDDIR)/assets/media/images
VID = cp VID = cp
VIDFLAGS = VIDFLAGS =
VIDFLAGS_PROD = VIDFLAGS_PROD =
VIDSRCDIR = $(SRCDIR)/assets/media/vid
VIDDIR = $(BUILDDIR)/assets/media/vid
VIDSRCDIR = $(SRCDIR)/assets/media/video
VIDDIR = $(BUILDDIR)/assets/media/video
FONT = cp FONT = cp
FONTFLAGS = FONTFLAGS =
@ -120,7 +120,7 @@ all: html css js jsvendor img vid font extras feed
html: $(HTMLFILES) html: $(HTMLFILES)
$(HTMLFILES): $(PUGTEMPLATES)
$(HTMLFILES): $(PUGTEMPLATES) $(MDFILES)
$(BUILDDIR)/%.html: $(PUGDIR)/%.pug $(BUILDDIR)/%.html: $(PUGDIR)/%.pug
if [[ ! -d $(dir $@) ]]; then mkdir -p $(dir $@); fi if [[ ! -d $(dir $@) ]]; then mkdir -p $(dir $@); fi

Loading…
Cancel
Save