Line endings
This commit is contained in:
parent
e9f7d5acef
commit
dd3409a4f6
19
Makefile
19
Makefile
|
@ -7,19 +7,24 @@ NEF = G # Generator (shell functions and generator loop)
|
|||
NEF+= R # Renderer (awk script to convert to compliant HTML)
|
||||
NEF+= L # Layout (template script expanded by X)
|
||||
|
||||
INPUT = I/* # regular files
|
||||
INPUT+= I/.??* # hidden files (for the footer)
|
||||
INPUT = $(wildcard I/*) # regular files
|
||||
INPUT+= $(wildcard I/.??*) # hidden files (for the footer)
|
||||
|
||||
STATIC = S/* # static files
|
||||
STATIC = $(wildcard S/*) # static files
|
||||
|
||||
OUTPUT =$(patsubst I/%,O/%,$(INPUT))
|
||||
OUTPUT+=$(patsubst S/%,O/S/%,$(INPUT))
|
||||
OUTPUT+=$(patsubst S/%,O/S/%,$(STATIC))
|
||||
|
||||
.PHONY: all
|
||||
.PHONY: all clean
|
||||
all: $(OUTPUT)
|
||||
clean:
|
||||
rm -rf O
|
||||
|
||||
O/S/%: S/%
|
||||
cp -r $< $@
|
||||
O:; mkdir -p O
|
||||
O/S: O; mkdir -p O/S
|
||||
|
||||
O/S/%: S/% O/S
|
||||
cp $< $@
|
||||
|
||||
O/%: I/% $(NEF)
|
||||
$(BUILD) $<
|
||||
|
|
2
nef
2
nef
|
@ -1 +1 @@
|
|||
Subproject commit dc4b5b5a0703b6aac2d310bcdd2957e4dc7efe0c
|
||||
Subproject commit a4d6574ffb752b31093c30fe3c7d68710e9e1b50
|
Loading…
Reference in New Issue