File: rules

package info (click to toggle)
dir2ogg 0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 148 kB
  • sloc: python: 688; sh: 30; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 547 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
#!/usr/bin/make -f
# Check for DISTRIB_ID in /etc/lsb-release. Ignore Errors. Empty on Debian,
# contains Ubuntu on Ubuntu systems
DISTRO := $(shell sed -n 's/DISTRIB_ID=\(.*\)/\1/p' /etc/lsb-release 2>/dev/null)

ifeq ($(DISTRO), Ubuntu)
SUGGESTS := mplayer-nogui | mplayer, alac-decoder
else
RECOMMENDS := mplayer, musepack-tools
endif

%:
	dh $@

# Architecture Independent
override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_gencontrol:
	dh_gencontrol -- -Vdistro:Recommends="$(RECOMMENDS)"  -Vdistro:Suggests="$(SUGGESTS)"