File: rules

package info (click to toggle)
lzlib 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 384 kB
  • ctags: 488
  • sloc: cpp: 3,410; sh: 224; makefile: 132
file content (22 lines) | stat: -rwxr-xr-x 461 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
#!/usr/bin/make -f

%:
	dh ${@}

override_dh_auto_configure:
	dh_auto_configure -- --libdir=\$${prefix}/lib --enable-shared

override_dh_auto_install:
	$(MAKE) LDCONFIG=/bin/true prefix=$(CURDIR)/debian/tmp/usr install

	# Adding missing symlink
	ln -s liblz.so.1.0 debian/tmp/usr/lib/liblz.so

	# Removing useless file
	rm -f debian/tmp/usr/share/info/dir*

override_dh_install:
	dh_install --fail-missing

override_dh_strip:
	dh_strip --dbg-package=liblz-dbg