File: rules

package info (click to toggle)
opencity 0.0.6.5stable-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 13,344 kB
  • sloc: cpp: 26,622; sh: 11,267; xml: 4,453; ansic: 587; makefile: 523
file content (27 lines) | stat: -rwxr-xr-x 656 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
23
24
25
26
27
#!/usr/bin/make -f
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
CXXFLAGS +=$(CPPFLAGS)
CFLAGS   +=$(CPPFLAGS)

%:
	dh $@

override_dh_missing:
	dh_missing --list-missing

override_dh_auto_configure:
	dh_auto_configure -- \
		--prefix=/usr \
		--bindir=/usr/games \
		--mandir=\$${prefix}/share/man \
		--infodir=\$${prefix}/share/info \
		--datadir=\$${prefix}/share/games \
		--sysconfdir=/etc

override_dh_auto_install:
	dh_auto_install
	$(RM) -r \
		$(CURDIR)/debian/tmp/usr/share/games/applications/ \
		$(CURDIR)/debian/tmp/usr/share/games/pixmaps/ \
		$(CURDIR)/debian/tmp/usr/share/games/doc/