File: rules

package info (click to toggle)
qtads 2.1.7-0.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 16,304 kB
  • sloc: cpp: 134,004; ansic: 26,107; xml: 18; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 567 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

include /usr/share/cdbs/1/class/qmake.mk
include /usr/share/cdbs/1/rules/debhelper.mk

export QTDIR = /usr/share/qt5

CFLAGS += -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing -std=c++11

export QT_SELECT = qt5
QMAKE = qmake
DEB_QMAKE_ARGS := BIN_INSTALL=/usr/games DOC_INSTALL=/usr/share/doc \
	DATA_INSTALL=/usr/share

install/qtads::
# GPL is already on Debian systems...
	rm -f $(DEB_DESTDIR)/usr/share/doc/qtads/COPYING
# Installation instructions are useless for the binary package...
	rm -f $(DEB_DESTDIR)/usr/share/doc/qtads/INSTALL