|
@@ -26,7 +26,7 @@ build1() {
|
26
|
26
|
*.md) <"$srcpath" expand_includes | expand_variables >"$dstpath" ;;
|
27
|
27
|
*) <"$srcpath" expand_variables >"$dstpath" ;;
|
28
|
28
|
esac
|
29
|
|
- echo "$dstpath" >> built.list
|
|
29
|
+ echo "$dstpath" >> "$MKIT_LOCAL/built.lst"
|
30
|
30
|
}
|
31
|
31
|
|
32
|
32
|
build_manpages() {
|
|
@@ -38,7 +38,7 @@ build_manpages() {
|
38
|
38
|
do
|
39
|
39
|
mdfile="$manfile.md"
|
40
|
40
|
ronn -r "$mdfile"
|
41
|
|
- echo "$manfile" >> built.list
|
|
41
|
+ echo "$manfile" >> "$MKIT_LOCAL/built.lst"
|
42
|
42
|
done
|
43
|
43
|
else
|
44
|
44
|
echo "ronn is not installed"
|
|
@@ -50,9 +50,9 @@ clean() {
|
50
|
50
|
#
|
51
|
51
|
# Clean up tree after building
|
52
|
52
|
#
|
53
|
|
- test -f built.list && {
|
54
|
|
- <built.list xargs rm -f
|
55
|
|
- rm -f built.list
|
|
53
|
+ test -f "$MKIT_LOCAL/built.lst" && {
|
|
54
|
+ <"$MKIT_LOCAL/built.lst" xargs rm -f
|
|
55
|
+ rm -f "$MKIT_LOCAL/built.lst"
|
56
|
56
|
}
|
57
|
57
|
true
|
58
|
58
|
}
|