blob: 64b9a77ecf98c01cf9706dda87354baecb28d19c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
TRG= ../files.go
JSON= ../../../font/calligra.json
Z= ../../../font/calligra.z
${TRG} : ${JSON} ${Z} ./bin
echo "package files" > ${TRG}
echo "" >> ${TRG}
echo "var CalligraJson = []byte{" >> ${TRG}
./bin < ${JSON} >> ${TRG}
echo "}" >> ${TRG}
echo "" >> ${TRG}
echo "var CalligraZ = []byte{" >> ${TRG}
./bin < ${Z} >> ${TRG}
echo "}" >> ${TRG}
gofmt -w ${TRG}
./bin : bin.go
go build -v
clean :
rm -f ./bin ${TRG}
|