]> git.deb.at Git - pkg/mmv.git/commitdiff
Remove further no more necessary stuff from debian/rules
authorAxel Beckert <abe@deuxchevaux.org>
Sun, 16 Sep 2012 16:49:32 +0000 (18:49 +0200)
committerAxel Beckert <abe@deuxchevaux.org>
Sun, 16 Sep 2012 17:14:59 +0000 (19:14 +0200)
debian/rules

index cbfa5f44da99a92e03a049fc75ed7efd1fdb3fda..e2f6fba0d75c167ecc86ecf8e7a04820aacad2d8 100755 (executable)
@@ -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