File: rules

package info (click to toggle)
macopix 1.7.4-6
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 4,876 kB
  • ctags: 2,992
  • sloc: ansic: 33,507; sh: 9,342; makefile: 68
file content (22 lines) | stat: -rwxr-xr-x 640 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
22
#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@ --with autoreconf,autotools_dev

override_dh_autoreconf:
	dh_autoreconf $(CURDIR)/autogen.sh

override_dh_auto_configure:
	dh_auto_configure -- --bindir=/usr/games --with-gnutls LDFLAGS="$(LDFLAGS) -lX11"

override_dh_auto_build:
	dh_auto_build
	winicontoppm -allicons -writeands src/macopix.ico src/macopix
	ppmtoxpm -name=macopix_xpm -alphamask=src/macopix_and_1.pbm \
		src/macopix_xor_1.ppm > src/macopix.xpm

override_dh_auto_install:
	dh_auto_install
	mv -f $(CURDIR)/debian/macopix-gtk2/usr/share/man/man1/macopix.1 \
	      $(CURDIR)/debian/macopix-gtk2/usr/share/man/man6/macopix.6