File: rules

package info (click to toggle)
mtpaint 3.40-3
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 5,092 kB
  • ctags: 4,451
  • sloc: ansic: 41,804; sh: 1,414; makefile: 77
file content (22 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
	dh $@

override_dh_auto_configure:
	./configure gtk2 cflags GIF jpeg tiff intl man --prefix=/usr \
	--bindir=/usr/bin --mandir=/usr/share/man

override_dh_auto_clean:
	touch doc/mtpaint.1.gz
	touch po/cs.mo
	touch _conf.txt
	rm -f src/a.out
	[ ! -f Makefile ] || $(MAKE) clean
	rm -f config.sub config.guess _conf.txt
	rm -rf $(CURDIR)/src/graphics/

override_dh_auto_install:
	$(MAKE) install DESTDIR=$(CURDIR)/debian/mtpaint/