File: rules

package info (click to toggle)
xfonts-jmk 3.0-22
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 19,776 kB
  • sloc: sh: 307; sed: 139; makefile: 43
file content (21 lines) | stat: -rwxr-xr-x 503 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

PACKAGE	= $(shell dh_listpackages)
TMP	= $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_auto_build:
	xmkmf -a
	cd modd && $(MAKE)
	cd neep && $(MAKE)
	$(MAKE)

override_dh_auto_install:
	$(MAKE) DESTDIR=$(TMP) INSTALL_DIR=/usr/share/fonts/X11/misc \
	    INSTDATFLAGS="-m 0644" install
	mv $(TMP)/usr/share/fonts/X11/misc/fonts.alias \
	    $(TMP)/etc/X11/fonts/misc/xfonts-jmk.alias
	rm $(TMP)/usr/share/fonts/X11/misc/fonts.dir
	rm $(TMP)/usr/share/fonts/X11/misc/fonts.scale