File: rules

package info (click to toggle)
surfraw 2.3.0-0.3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,640 kB
  • sloc: sh: 7,977; perl: 824; makefile: 277
file content (29 lines) | stat: -rwxr-xr-x 844 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
22
23
24
25
26
27
28
29
#!/usr/bin/make -f


BINDIR  = debian/surfraw/usr/bin
MAN1DIR = debian/surfraw/usr/share/man/man1
EXTRA_BINDIR = debian/surfraw-extra/usr/bin
EXTRA_MAN1DIR = debian/surfraw-extra/usr/share/man/man1


%:
	dh $@ --with bash-completion

override_dh_auto_configure:
	./configure                       \
	  --prefix=/usr                   \
	  --sysconfdir=/etc               \
	  --mandir=/usr/share/man         \
	  --with-text-browser=www-browser \
	  --with-graphical-browser=sensible-browser

override_dh_auto_install:
	dh_auto_install --destdir debian/surfraw
	mkdir -p $(EXTRA_MAN1DIR) $(EXTRA_BINDIR)
	mv $(BINDIR)/opensearch* $(EXTRA_BINDIR)/
	mv $(MAN1DIR)/opensearch-* $(EXTRA_MAN1DIR)/

# Previous, 2.2.9-1 version did not run test suite either.  Some of
# tests did rot (not surprising, given nature of surfraw).
override_dh_auto_test: