File: rules

package info (click to toggle)
bsdowl 2.2.2-1.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,448 kB
  • sloc: sh: 828; makefile: 383; ml: 267; lisp: 54
file content (21 lines) | stat: -rwxr-xr-x 795 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
#!/usr/bin/make -f

%:
	dh $@ -O--buildsystem=bmake


override_dh_auto_install:
	# Upstream's Makefile checks if $$(DESTDIR)/$$(PREFIX) is writable
	# by the current user and uses `su` when it is not. However, it
	# fails to handle the case where the directory is non-existent
	# and the current user is able to create it. So pre-create it
	# to avoid triggering the `su` case.
	mkdir -p debian/bsdowl/usr
	dh_auto_install --buildsystem=bmake

# debhelper's bmake.pm no longer inherits from autoconf, so for
# auto_configure we have to pretend to use autoconf.
# If you fix any problems here please tell the udfclient maintainer
# since that uses bmake+autoconf, too.
override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=autoconf -- MKDIR_P="/bin/mkdir -p" GREP=/bin/grep SED=/bin/sed