File: rules

package info (click to toggle)
libirman 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,652 kB
  • ctags: 338
  • sloc: sh: 4,099; ansic: 1,541; makefile: 71
file content (17 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS      = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND     = -Wl,--as-needed

%:
	dh $@  --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-swtest

override_dh_auto_install:
	dh_auto_install
	find debian/tmp -name \*.la -delete
	mkdir $(CURDIR)/debian/tmp/usr/share/doc/libirman/examples
	cp test_io.c test_func.c test_name.c workmanir.c \
	    $(CURDIR)/debian/tmp/usr/share/doc/libirman/examples