Compare commits
3 Commits
7515f68a8d
...
6278f5844e
Author | SHA1 | Date | |
---|---|---|---|
![]() |
6278f5844e | ||
![]() |
0b75d9ce1f | ||
![]() |
6eac1472b5 |
5
Makefile
5
Makefile
@ -21,6 +21,11 @@ install: all
|
|||||||
@cp lib/find_cmd.awk ${AWKLIB}
|
@cp lib/find_cmd.awk ${AWKLIB}
|
||||||
@echo Installation Complete
|
@echo Installation Complete
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@echo Removing zod executable
|
||||||
|
@rm bin/zod
|
||||||
|
@echo Done
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@echo Uninstalling zod executables
|
@echo Uninstalling zod executables
|
||||||
@rm ${PREFIX}/bin/zod
|
@rm ${PREFIX}/bin/zod
|
||||||
|
@ -8,6 +8,7 @@ target="$1"; shift
|
|||||||
file="$1"; shift
|
file="$1"; shift
|
||||||
ext="${file##*.}"
|
ext="${file##*.}"
|
||||||
meta="${file%.$ext}.meta"
|
meta="${file%.$ext}.meta"
|
||||||
|
dirmeta="${file%/*}/dir.meta"
|
||||||
page="${file##*/}"
|
page="${file##*/}"
|
||||||
page="${page%.$ext}.html"
|
page="${page%.$ext}.html"
|
||||||
destination=$(__zod_destination "$file")
|
destination=$(__zod_destination "$file")
|
||||||
@ -18,6 +19,7 @@ set -- "$@" -f "$zod_lib/config.awk"
|
|||||||
set -- "$@" -
|
set -- "$@" -
|
||||||
[ -f "$proj/global.meta" ] && set -- "$@" "$proj/global.meta"
|
[ -f "$proj/global.meta" ] && set -- "$@" "$proj/global.meta"
|
||||||
[ -f "$meta" ] && set -- "$@" "$meta"
|
[ -f "$meta" ] && set -- "$@" "$meta"
|
||||||
|
[ -f "$dirmeta" ] && set -- "$@" "$dirmeta"
|
||||||
set -- "$@" "$file"
|
set -- "$@" "$file"
|
||||||
[ -f "$proj/main.layout" ] && set -- "$@" "$proj/main.layout"
|
[ -f "$proj/main.layout" ] && set -- "$@" "$proj/main.layout"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user