#! /usr/bin/make -f
-CC = gcc
LDFLAGS =
CFLAGS = -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
MAKEFLAGS += -j$(NUMJOBS)
endif
-
-# The package
-p = mmv
-# The version
-v = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
-# The architecture
-a = $(shell dpkg --print-architecture)
-
-dir = `pwd`
-
build:
# Builds the binary package.
dh_testdir
binary-arch: build
dh_testdir
- test -f build || $(MAKE) -f debian/rules build
# Makes a binary package.
- test -f stamp-build || $(MAKE) -f debian/rules build
dh_installdirs
dh_auto_install
dh_strip
dh_link
- install -d -g root -m 755 -o root debian/mmv/usr/share/doc/$(p)
dh_installdocs
dh_installchangelogs
dh_compress