File: rules

package info (click to toggle)
cb2bib 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,544 kB
  • sloc: cpp: 28,081; sh: 516; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 553 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DH_VERBOSE=1
export QT_SELECT=qt5

BUILDDIR=$(CURDIR)/debian/build

%:
	dh $@ --no-parallel --buildsystem=qmake --builddirectory=$(BUILDDIR)

override_dh_auto_configure:
	mkdir -p $(BUILDDIR) && \
		cp -rpf c2bscripts  c2btools  cb2bib.pro  cb2bib.rc data src testPDFImport xpdf $(BUILDDIR) && \
		dh_auto_configure

debian/cb2bib.xpm: src/icons/cb2bib.png
	convert src/icons/cb2bib.png -resize 32x32 debian/cb2bib.xpm

override_dh_auto_build: debian/cb2bib.xpm
	dh_auto_build