File: rules

package info (click to toggle)
nted 1.10.18-13
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 15,300 kB
  • sloc: cpp: 50,840; ansic: 10,195; sh: 4,552; makefile: 207; sed: 16
file content (29 lines) | stat: -rwxr-xr-x 563 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
#!/usr/bin/make -f
# -*- makefile -*-

CONFFLAGS += --prefix=/usr

export YELP=/usr/bin/yelp

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	mv configure.in configure.ac
	dh_autoreconf

override_dh_auto_clean:
	dh_auto_clean
	[ -f configure.in ] || mv configure.ac configure.in

override_dh_compress:
	dh_compress -X.docbook

override_dh_auto_install:
	dh_auto_install
	for file in $$(find debian/tmp/usr/share/doc/nted -type f -name \*.docbook); do \
	  sed -i 's:"../docimages/:"/usr/share/doc/nted/docimages/:g' $$file; \
	done

get-orig-source:
	uscan