fixed static files whose names end in "h", but not in ".h"

This commit is contained in:
/dev/urandom 2021-05-26 13:39:38 +03:00
parent e264e34636
commit c67f2f4365

View file

@ -28,8 +28,8 @@ TEXT_PAGES_HTML = $(patsubst $(PAGEDIR)/text/%.txt,$(OUTDIR)/text/%.html,$(_TEXT
_DIRECTORIES = $(shell find $(PAGEDIR)/* -type d) _DIRECTORIES = $(shell find $(PAGEDIR)/* -type d)
DIRECTORIES = $(patsubst $(PAGEDIR)/, $(OUTDIR)/, $(_PAGES)) DIRECTORIES = $(patsubst $(PAGEDIR)/, $(OUTDIR)/, $(_PAGES))
_STATIC_FILES = $(shell find -L static/ -type f -name \* | grep -v \.h$) _STATIC_FILES = $(shell find -L static/ -type f -name \* | grep -v \\.h$)
_STATIC_HEADERS = $(shell find -L static/ -type f -name \*.h) _STATIC_HEADERS = $(shell find -L static/ -type f -name \*\\.h$)
OUT_STATIC = $(patsubst static/%,out/%,$(_STATIC_FILES)) $(patsubst static/%.h,out/%,$(_STATIC_HEADERS)) OUT_STATIC = $(patsubst static/%,out/%,$(_STATIC_FILES)) $(patsubst static/%.h,out/%,$(_STATIC_HEADERS))
.SUFFIXES: .SUFFIXES: