mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-22 14:10:39 +01:00
fix: HTML_SUBDIR doesn\'t wasn't correctly computed as empty directly below htdocs
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
1985d47567
commit
1a25b5ae59
1 changed files with 1 additions and 1 deletions
|
|
@ -402,7 +402,7 @@ INSTALLED_CGI += $(addprefix $(INSTALL_CGIDIR)/,$(EXE_CGI))
|
||||||
INSTALLATION_FILE_TYPES += HTML
|
INSTALLATION_FILE_TYPES += HTML
|
||||||
BUILD_HTMLDIR = $(TOPDIR)/htdocs
|
BUILD_HTMLDIR = $(TOPDIR)/htdocs
|
||||||
LOCAL_HTML += $(filter-out $(DONT_INSTALL),$(wildcard *.html *.css *.php) $(IMAGES))
|
LOCAL_HTML += $(filter-out $(DONT_INSTALL),$(wildcard *.html *.css *.php) $(IMAGES))
|
||||||
HTML_SUBDIR ?= $(shell pwd | $(SED) 's%.*/htdocs/%%')
|
HTML_SUBDIR ?= $(shell pwd | $(SED) 's%.*/htdocs\(/\|$$\)%%')
|
||||||
ifeq ($(HTML_SUBDIR),)
|
ifeq ($(HTML_SUBDIR),)
|
||||||
INSTALL_HTMLDIR = $(PROJECT_HTMLDIR)
|
INSTALL_HTMLDIR = $(PROJECT_HTMLDIR)
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue