File: rules

package info (click to toggle)
tamil-gtk2im 2.2-6
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 232 kB
  • sloc: ansic: 2,828; sh: 144; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 554 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

GTK_BINVER ?= $(shell pkg-config --variable=gtk_binary_version gtk+-2.0)

override_dh_auto_build:
	./compile-gtk2im.sh
	dh_auto_build

override_dh_auto_clean:
	rm -rf *.o *.so *.la *.lo .libs .deps

override_dh_auto_install:
	install -d $(CURDIR)/debian/tamil-gtk2im/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/$(GTK_BINVER)/immodules
	install -m 755 .libs/*.so \
		$(CURDIR)/debian/tamil-gtk2im/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/$(GTK_BINVER)/immodules

%:
	dh $@