File: rules

package info (click to toggle)
ipe-tools 1%3A7.2.29.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 940 kB
  • sloc: python: 2,840; cpp: 2,752; ansic: 1,052; sh: 224; makefile: 95; xml: 39
file content (29 lines) | stat: -rw-r--r-- 774 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
23
24
25
26
27
28
29
#!/usr/bin/make -f

export IPEPREFIX=/usr
export INSTALL_ROOT=$(shell pwd)/debian/tmp

#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

# libspiro before 201907 apparently had no pkg-config 
export SPIRO_LIBS=-lspiro
export SPIRO_CFLAGS=

# Qt6 hat no pkg-config before 6.3.1
export QT_CFLAGS=-DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB \
        -I/usr/include/x86_64-linux-gnu/qt6/QtWidgets \
        -I/usr/include/x86_64-linux-gnu/qt6/QtGui \
        -I/usr/include/x86_64-linux-gnu/qt6/QtCore \
        -I/usr/include/x86_64-linux-gnu/qt6
export QT_LIBS=-lQt6Widgets -lQt6Gui -lQt6Core

%:
	dh $@ --sourcedirectory=src

override_dh_auto_build:
	dh_auto_build -- all

override_dh_install: 
	dh_install
	dh_install debian/tmp/usr/lib/lib*.so.* usr/lib