-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (26 loc) · 774 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## Minimal and hackish packaging for Libertinus
##
## This Makefile downloads from GitHub, extracts the OTF files and
## lets the Debian packaging in debian/ do the rest. Just call
##
## dpkg-buildpackage -rfakeroot -us -uc -tc
##
## or just
##
## runMe.sh
##
## to have the package build using 'fake' suid, do not sign (as we're
## not uploading anywhere) and clean.
##
## Copyright (C) 2016 - 2018 Dirk Eddelbuettel
## and released under GPL (>=2 )
srcfile=https://github.com/libertinus-fonts/libertinus/releases/download/v6.6/libertinus-6.6.zip
outfile=$(shell basename ${srcfile})
all:
test -f ${outfile} || wget ${srcfile}
unzip ${outfile}
mkdir otf
mv libertinus-?.?/*.otf otf/
rm -rf libertinus-?.?
clean:
rm -rf ${outfile} libertinus-?.?/ otf/