File: rules

package info (click to toggle)
clsync 0.4.5-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,404 kB
  • sloc: ansic: 15,074; sh: 466; makefile: 269
file content (18 lines) | stat: -rwxr-xr-x 555 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-socket --enable-socket-library --enable-highload-locks --disable-seccomp

execute_after_dh_auto_install:
	sed --in-place "/dependency_libs/ s/'.*'/''/" $$(find debian/tmp -name '*.la')
	-rm --verbose debian/tmp/usr/share/doc/clsync/LICENSE
	-rm --verbose debian/tmp/usr/bin/gencompilerflags
	-rm --verbose debian/tmp/usr/include/clsync/compilerflags.h