File: rules

package info (click to toggle)
libedit 3.1-20181209-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,760 kB
  • sloc: ansic: 16,047; sh: 4,266; awk: 428; makefile: 131
file content (21 lines) | stat: -rwxr-xr-x 507 bytes parent folder | download | duplicates (2)
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
# The previous build system was using pmake
# The current autoconf. That makes our life way easier

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-examples

override_dh_strip:
	dh_strip --dbgsym-migration='libedit2-dbg (<< 3.1-20180525-2~)'

# XXX: Can be removed when switching to debhelper compat 12.
override_dh_compress:
	dh_compress -X.c -XMakefile.in -XMakefile.am

override_dh_clean:
	dh_clean
	# Remove Apple time machine files
	rm -f `find . -iname '._*'`