Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 PACKAGE = colortest
4 PKGDIR ?= $(shell pwd)/debian/$(PACKAGE)
5 DOCDIR = debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/doc
6 BINDIR = $(PKGDIR)/usr/bin
7
8 PACKAGE2 = colortest-python
9 PKGDIR2 ?= $(shell pwd)/debian/$(PACKAGE2)
10 BINDIR2 = $(PKGDIR2)/usr/bin
11
12 man:
13 $(MAKE) -C debian -f pod2man.mk PACKAGE=colortest-8 makeman
14 $(MAKE) -C debian -f pod2man.mk PACKAGE=colortest-16 makeman
15 $(MAKE) -C debian -f pod2man.mk PACKAGE=colortest-16b makeman
16 $(MAKE) -C debian -f pod2man.mk PACKAGE=colortest-256 makeman
17
18 # What is not not installed:
19 #
20 # colortest
21 # Problem: does not reset terminal back to defaults (colors stick)
22
23 override_dh_auto_install: man
24 install -m 755 -d $(BINDIR)
25 install -m 755 8colors.sh $(BINDIR)/colortest-8
26 install -m 755 16colors.sh $(BINDIR)/colortest-16
27 install -m 755 colortable16.sh $(BINDIR)/colortest-16b
28 install -m 755 256colors2.pl $(BINDIR)/colortest-256
29
30 %:
31 dh $@
32
33 .PHONY: man configure build build-arch binary-arch
34
35 # End of file