diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-03-14 15:38:30 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-03-14 15:38:30 +0100 |
| commit | 159c94c4c142d13c033b631cc75ab4d7d4101d58 (patch) | |
| tree | 6c00550889c6db247e78927bac4224d35542613a /repo/www/Makefile | |
| parent | 63fe3bafdd43c21987d90c299854dd0fa5ba1f2d (diff) | |
| download | memory-leaks-159c94c4c142d13c033b631cc75ab4d7d4101d58.tar.xz | |
Let Makefile compute page folders
Since it already computes the list of pages.
I'm not comfortable with the pattern substitution, the implicit "slash
management" is not obvious.
Diffstat (limited to 'repo/www/Makefile')
| -rw-r--r-- | repo/www/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/repo/www/Makefile b/repo/www/Makefile index 2cf5f9c..21bf328 100644 --- a/repo/www/Makefile +++ b/repo/www/Makefile @@ -5,6 +5,8 @@ text_files = md org text_patterns = $(foreach ext,$(text_files),'$(TOP_DIR)/**.$(ext)') text_folders = $(sort $(dir $(shell git ls-files $(text_patterns)))) +page_folders = $(patsubst $(TOP_DIR)%/,$(OUT_DIR)%,$(text_folders)) + all: site include deps.mk |
