X-Git-Url: https://git.deb.at/w?p=pkg%2Fmmv.git;a=blobdiff_plain;f=debian%2Frules;fp=debian%2Frules;h=e2f6fba0d75c167ecc86ecf8e7a04820aacad2d8;hp=cbfa5f44da99a92e03a049fc75ed7efd1fdb3fda;hb=3acbfe931d70c61ea28d55989a4bdd98a8ee418e;hpb=36b386e058dd7265b9fd3bb83bce375ca630b24a;ds=sidebyside diff --git a/debian/rules b/debian/rules index cbfa5f4..e2f6fba 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,5 @@ #! /usr/bin/make -f -CC = gcc LDFLAGS = CFLAGS = -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 @@ -20,16 +19,6 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) 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 @@ -49,14 +38,11 @@ binary-indep: 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