X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=debian%2Frules;h=8e8496baafbff0d77a36f262a4b318232948249a;hb=44998a8bacdebbcb8a204f28248b773c210f790b;hp=8bbe2d23bb3940e685f3258d01e949e6409be701;hpb=1868e3610627aa1d2c24808e051434c6750b2cfb;p=pkg-collection4.git diff --git a/debian/rules b/debian/rules index 8bbe2d2..8e8496b 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,8 @@ # # Written by Sebastian Harl +include /usr/share/quilt/quilt.make + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -26,19 +28,20 @@ config.status: configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ + --sysconfdir=/etc \ --mandir=\$${prefix}/share/man \ - CFLAGS="$(CFLAGS)" + CFLAGS="$(CFLAGS)" LDFLAGS="-lm" build: build-stamp -build-stamp: config.status +build-stamp: $(QUILT_STAMPFN) config.status dh_testdir $(MAKE) touch build-stamp -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-stamp @@ -53,7 +56,9 @@ install: build dh_prep dh_installdirs - $(MAKE) install DESTDIR=$(CURDIR)/debian/collection4 + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + dh_install --sourcedir=debian/tmp --fail-missing binary-indep: build install # nothing to do here