simplify file lists
This commit is contained in:
parent
645424a7d8
commit
8e5d30d372
1 changed files with 4 additions and 11 deletions
13
Makefile
13
Makefile
|
@ -17,17 +17,10 @@ MAKEPAGES := $(TMPDIR)/make-pages
|
||||||
YAMLS != find -L $(DATADIR) -name $(INFONAME)
|
YAMLS != find -L $(DATADIR) -name $(INFONAME)
|
||||||
|
|
||||||
TSCRIPTS != find script -name '*.ts'
|
TSCRIPTS != find script -name '*.ts'
|
||||||
STYLES != find style -name '*.css'
|
STYLES != find style -type f
|
||||||
STYLESVGS != find style -name '*.svg'
|
FONTS != find fonts -type f
|
||||||
STYLEPNGS != find style -name '*.png'
|
|
||||||
|
|
||||||
|
STATIC = $(STYLES) $(FONTS)
|
||||||
FONTS != find fonts \
|
|
||||||
-iname '*.eot' -or -iname '*.svg' -or \
|
|
||||||
-iname '*.ttf' -or -iname '*.woff' -or \
|
|
||||||
-iname '*.woff2' -or -iname '*.css'
|
|
||||||
|
|
||||||
STATIC = $(STYLES) $(STYLEPNGS) $(STYLESVGS) $(FONTS)
|
|
||||||
BSTATIC = $(patsubst %,$(BUILDDIR)/%,$(STATIC))
|
BSTATIC = $(patsubst %,$(BUILDDIR)/%,$(STATIC))
|
||||||
BSCRIPTS = $(patsubst %.ts,$(BUILDDIR)/%.js,$(TSCRIPTS))
|
BSCRIPTS = $(patsubst %.ts,$(BUILDDIR)/%.js,$(TSCRIPTS))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue