File: rules

package info (click to toggle)
qsapecng 2.1.1-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 5,504 kB
  • ctags: 2,773
  • sloc: cpp: 24,075; ansic: 26; makefile: 17
file content (23 lines) | stat: -rwxr-xr-x 542 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
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DH_ALWAYS_EXCLUDE=.git
export DH_OPTIONS


%:
	dh $@ 

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,relro"
	doxygen doxy.cfg
	rm -f doc/html/jquery.js
	ln -s /usr/share/javascript/jquery/jquery.js doc/html/jquery.js

override_dh_auto_clean:
	dh_auto_clean
	rm -fr doc/html doc/latex
	rm -f src/gui/qtsolutions/qtpropertyeditor/moc_*
	rm -f src/gui/qtsolutions/qtpropertyeditor/*.moc