-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
32 lines (27 loc) · 831 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
32
## Minimal and hackish packaging for Source Code Pro
##
## 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 Dirk Eddelbuettel
## and released under GPL (>=2 )
## check with https://github.com/adobe-fonts/source-code-pro/releases for version
srcfile=https://github.com/adobe-fonts/source-code-pro/archive/2.010R-ro/1.030R-it.tar.gz
outfile=$(shell basename ${srcfile})
all:
test -f ${outfile} || wget ${srcfile}
tar xfz ${outfile}
mv source-code-pro-*/OTF/ .
rm -rf source-code-pro-*
clean:
rm -f ${outfile}
rm -rf OTF/