File: Makefile

package info (click to toggle)
xfonts-cronyx 2.3.8-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 2,444 kB
  • sloc: perl: 922; tcl: 573; sh: 468; makefile: 293
file content (24 lines) | stat: -rw-r--r-- 767 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SHELL = /bin/bash

xcyr_source_bdfs = $(wildcard 100dpi/crox??.bdf 75dpi/crox??.bdf)
xcyr_oblique_bdfs = $(addsuffix o.bdf, $(xcyr_source_bdfs:%.bdf=%))
xcyr_bold_bdfs = $(addsuffix b.bdf, $(xcyr_source_bdfs:%.bdf=%))
xcyr_boldoblique_bdfs = $(addsuffix bo.bdf, $(xcyr_source_bdfs:%.bdf=%))
xcyr_new_bdfs = $(xcyr_oblique_bdfs) $(xcyr_bold_bdfs) $(xcyr_boldoblique_bdfs)

$(xcyr_oblique_bdfs) : $(xcyr_source_bdfs) bdfslant.pl
	perl bdfslant.pl -unjag <$(@:%o.bdf=%.bdf) >$@

$(xcyr_bold_bdfs) : $(xcyr_source_bdfs) bdfbold.pl
	perl bdfbold.pl <$(@:%b.bdf=%.bdf) >$@

$(xcyr_boldoblique_bdfs) : $(xcyr_bold_bdfs) bdfslant.pl
	perl bdfslant.pl -unjag <$(@:%bo.bdf=%b.bdf) >$@


.PHONY : allbdf
allbdf : $(xcyr_new_bdfs)

.PHONY : clean
clean :
	rm -f $(xcyr_new_bdfs)