File: rules

package info (click to toggle)
libctl 3.2.2-4
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,304 kB
  • ctags: 1,178
  • sloc: sh: 11,466; ansic: 5,903; lisp: 2,311; makefile: 123
file content (38 lines) | stat: -rwxr-xr-x 1,280 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/make -f
# -*- makefile -*-

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

install_file    = /usr/bin/install -p -o root -g root -m 644

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	LIBS="-lm" dh_auto_configure -- --enable-shared

override_dh_installdocs:
	dh_installdocs
	mkdir -p debian/libctl-doc/usr/share/doc/libctl-doc
	cp AUTHORS debian/libctl-doc/usr/share/doc/libctl-doc/AUTHORS
	cp NEWS debian/libctl-doc/usr/share/doc/libctl-doc/NEWS
#XXX	cp TODO debian/libctl-doc/usr/share/doc/libctl-doc/TODO
#XXX	cp README debian/libctl-doc/usr/share/doc/libctl-doc/README

	mkdir -p debian/libctl-dev/usr/share/doc/libctl-dev
	cp AUTHORS debian/libctl-dev/usr/share/doc/libctl-dev/AUTHORS
	cp NEWS debian/libctl-dev/usr/share/doc/libctl-dev/NEWS
#XXX	cp TODO debian/libctl-dev/usr/share/doc/libctl-dev/TODO
#XXX	cp README debian/libctl-dev/usr/share/doc/libctl-dev/README

	mkdir -p debian/libctl5/usr/share/doc/libctl5
	cp AUTHORS debian/libctl5/usr/share/doc/libctl5/AUTHORS
	cp NEWS debian/libctl5/usr/share/doc/libctl5/NEWS
#XXX	cp TODO debian/libctl5/usr/share/doc/libctl5/TODO
#XXX	cp README debian/libctl5/usr/share/doc/libctl5/README

get-orig-source:
	mkdir -p ../tarballs
	uscan --verbose --force-download --destdir=../tarballs