5 CFLAGS = -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
8 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
14 ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
18 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
19 NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
20 MAKEFLAGS += -j$(NUMJOBS)
27 v = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
29 a = $(shell dpkg --print-architecture)
34 # Builds the binary package.
36 $(MAKE) CC="$(CC)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)"
40 # Undoes the effect of `make -f debian/rules build'.
43 dh_clean build debian/substvars
45 binary: binary-arch binary-indep
52 test -f build || $(MAKE) -f debian/rules build
53 # Makes a binary package.
54 test -f stamp-build || $(MAKE) -f debian/rules build
59 install -d -g root -m 755 -o root debian/mmv/usr/share/doc/$(p)