File: rules

package info (click to toggle)
libatomic-queue 1.6.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,460 kB
  • sloc: cpp: 1,692; javascript: 368; makefile: 160; python: 82; ansic: 81; sh: 59
file content (21 lines) | stat: -rwxr-xr-x 486 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
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

%:
	dh $@

override_dh_install:
	dh_install
	mv `find . -name "*.a"` `dirname $$(find . -name "*.so")`
	d-shlibmove --commit \
		    --multiarch \
		    --devunversioned \
		    --exclude-la \
		    --movedev include usr \
		    $$(find . -name "*.so")
	rm -vf debian/libatomic-queue-dev/usr/include/CMakeLists.txt

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	$(MAKE) example run_tests
endif