From c67f2f43658be9ad8afcfa6aebdc99285eca0e46 Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Wed, 26 May 2021 13:39:38 +0300 Subject: [PATCH] fixed static files whose names end in "h", but not in ".h" --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 67b99fd..2be69bc 100644 --- a/Makefile +++ b/Makefile @@ -28,8 +28,8 @@ TEXT_PAGES_HTML = $(patsubst $(PAGEDIR)/text/%.txt,$(OUTDIR)/text/%.html,$(_TEXT _DIRECTORIES = $(shell find $(PAGEDIR)/* -type d) DIRECTORIES = $(patsubst $(PAGEDIR)/, $(OUTDIR)/, $(_PAGES)) -_STATIC_FILES = $(shell find -L static/ -type f -name \* | grep -v \.h$) -_STATIC_HEADERS = $(shell find -L static/ -type f -name \*.h) +_STATIC_FILES = $(shell find -L static/ -type f -name \* | grep -v \\.h$) +_STATIC_HEADERS = $(shell find -L static/ -type f -name \*\\.h$) OUT_STATIC = $(patsubst static/%,out/%,$(_STATIC_FILES)) $(patsubst static/%.h,out/%,$(_STATIC_HEADERS)) .SUFFIXES: