File: rules

package info (click to toggle)
leocad 25.09-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,008 kB
  • sloc: cpp: 51,794; xml: 11,265; python: 81; sh: 52; makefile: 16
file content (27 lines) | stat: -rwxr-xr-x 744 bytes parent folder | download | duplicates (3)
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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PREFIX=/usr

#skip check for newer versions online
export DEB_CPPFLAGS_MAINT_APPEND = -DLC_DISABLE_UPDATE_CHECK -DLC_LDRAW_LIBRARY_PATH=\\\\\\\"/usr/share/ldraw\\\\\\\"
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
export QT_SELECT=qt5

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		QMAKE_CXXFLAGS='$(CXXFLAGS) $(CPPFLAGS)' \
		QMAKE_LFLAGS='$(LDFLAGS)'

override_dh_installdocs:
	dh_installdocs
	rm debian/leocad/usr/share/doc/leocad/COPYING.txt
	mv debian/leocad/usr/share/doc/leocad/upstream-changelog debian/leocad/usr/share/doc/leocad/changelog