File: rules

package info (click to toggle)
migrationtools 47-6
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 324 kB
  • ctags: 68
  • sloc: perl: 1,305; sh: 661; makefile: 12
file content (24 lines) | stat: -rwxr-xr-x 983 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
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2004-2008 Jonas Smedegaard <dr@jones.dk>

# See debian/README.cdbs-tweaks for info on local overrides
include debian/cdbs/1/rules/upstream-tarball.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/1/rules/copyright-check.mk
include debian/cdbs/1/rules/buildinfo.mk

DEB_UPSTREAM_URL = ftp://ftp.padl.com/pub
DEB_UPSTREAM_PACKAGE = MigrationTools

DEB_UPSTREAM_TARBALL_FETCH_OPTIONS += --no-passive-ftp

DEB_UPSTREAM_TARBALL_MD5 = 3faf83eb8482e55979bda47f1d1e6501

# Make sure all scripts are executable
common-binary-post-install-indep::
	find debian/migrationtools/usr/share/migrationtools -type f -exec chmod 755 '{}' ';'

# Fix double cdbs build-dependencies
CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\|0.4.27\)) *,* */, /g' -e 's/^ *, *//' -e 's/ *, *$$//')