Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # Uncomment below to enable verbose build messages.
4 #export DH_VERBOSE = 1
5
6 # Enable all build hardening flags.
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8
9 %:
10 dh $@
11
12 override_dh_auto_clean:
13 # Delete the generated font.ufo instances.
14 find -name font.ufo -exec rm -R '{}' +
15
16 # Delete the generated fonts.
17 rm -rf opentype
18
19 override_dh_auto_build:
20 # Make the instances.
21 afdko makeinstancesufo -d Italic/SourceSans3-Italic.designspace
22 afdko makeinstancesufo -d Upright/SourceSans3-Upright.designspace
23
24 # Link the features file.
25 find -name font.ufo -exec ln -s ../../../../features.fea '{}' \;
26
27 # Make the OpenType directory.
28 mkdir -p opentype
29
30 # Build the OpenType fonts.
31 find -name font.ufo -execdir afdko makeotf -r -gs -omitMacNames \;
32
33 # Move the fonts to the OpenType directory.
34 find Italic -name *.otf -exec mv '{}' opentype \;
35 find Upright -name *.otf -exec mv '{}' opentype \;
36
37 override_dh_installchangelogs::
38 # Move relnotes.txt to changelog.
39 dh_installchangelogs relnotes.txt