File: rules

package info (click to toggle)
sdm 0.4.0a-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 188 kB
  • ctags: 4
  • sloc: sh: 68; makefile: 66
file content (17 lines) | stat: -rwxr-xr-x 579 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2004 Jonas Smedegaard <dr@jones.dk>

include /usr/share/cdbs/1/rules/debhelper.mk

DEB_INSTALL_MANPAGES_sdm = manpages/sdm-session.1 manpages/sdm-autokeys.8 manpages/sdm-wm.1
DEB_INSTALL_MANPAGES_sdm-terminal = manpages/sdm.8 manpages/sdm-login.8 manpages/sdm-ssh-askpass.1

# Add build info
common-binary-post-install-indep::
	dh_buildinfo

# Use dash instead of ash
common-binary-post-install-indep::
	egrep -r -l -Z '^#! ?/bin/ash' debian/* \
		| xargs -r -0 perl -pi -e 's,^#! ?/bin/ash,#!/bin/dash,'