File: rules

package info (click to toggle)
mtpaint 3.40-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,868 kB
  • ctags: 4,127
  • sloc: ansic: 41,804; sh: 1,414; makefile: 74
file content (19 lines) | stat: -rwxr-xr-x 464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
%:
	dh --with quilt $@

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/