mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Fix htdocs variables IMAGES and HTML_SUBDIR
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
614c07af88
commit
e11afe1154
1 changed files with 2 additions and 2 deletions
|
|
@ -313,7 +313,7 @@ ALL_CSRC += $(LOCAL_CSRC) $(PREREQ_CSRC)
|
|||
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)
|
||||
IMAGES += $(wildcard *.png *.jpg *.bmp *.gif *.ico *.svg)
|
||||
|
||||
# -- standard dirs and files for build and install
|
||||
|
||||
|
|
@ -459,7 +459,7 @@ INSTALLED_CGI += $(addprefix $(INSTALL_CGIDIR)/,$(EXE_CGI))
|
|||
INSTALLATION_FILE_TYPES += HTML
|
||||
BUILD_HTMLDIR = $(TOPDIR)/htdocs
|
||||
LOCAL_HTML += $(filter-out $(DONT_INSTALL),$(wildcard *.html *.css *.php) $(IMAGES))
|
||||
HTML_SUBDIR ?= $(shell pwd | $(SED) 's%.*/htdocs\(/\|$$\)%%')
|
||||
HTML_SUBDIR ?= $(shell pwd | $(SED) '/.*\/htdocs\(\/\|$$\)/!d; s%.*/htdocs\(/\|$$\)%%')
|
||||
ifeq ($(HTML_SUBDIR),)
|
||||
INSTALL_HTMLDIR = $(PROJECT_HTMLDIR)
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue