mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Add FONTS variable
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
1c992bfd3c
commit
5809aed254
1 changed files with 2 additions and 1 deletions
|
|
@ -351,6 +351,7 @@ PUBLIC_PATH_DEVEL_DOC = /proj/devel-docs
|
|||
UPLOAD_URL_DEVEL_DOC = rsync_ssh://root@feitnix.jannet.de:/srv/www/htdocs/jannet.de_443/$(PUBLIC_PATH_DEVEL_DOC)
|
||||
|
||||
IMAGES += $(wildcard *.png *.jpg *.bmp *.gif *.ico *.svg)
|
||||
FONTS += $(wildcard *.woff *.svg)
|
||||
|
||||
# -- standard dirs and files for build and install
|
||||
|
||||
|
|
@ -496,7 +497,7 @@ INSTALLED_CGI += $(addprefix $(INSTALL_CGIDIR)/,$(EXE_CGI))
|
|||
# -- HTML
|
||||
INSTALLATION_FILE_TYPES += HTML
|
||||
BUILD_HTMLDIR = $(TOPDIR)/htdocs
|
||||
LOCAL_HTML += $(filter-out $(DONT_INSTALL),$(wildcard *.html *.css *.php *.js) $(IMAGES))
|
||||
LOCAL_HTML += $(filter-out $(DONT_INSTALL),$(wildcard *.html *.css *.php *.js) $(FONTS) $(IMAGES))
|
||||
HTML_SUBDIR ?= $(shell $(PWD) | $(SED) '/.*\/htdocs\(\/\|$$\)/!d; s%.*/htdocs\(/\|$$\)%%')
|
||||
ifeq ($(HTML_SUBDIR),)
|
||||
INSTALL_HTMLDIR = $(PROJECT_HTMLDIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue