* Create install-stamp target in debian/rules and adjust dependencies
accordingly.
* Change debian/copyright to the new machine-readable format.
+ * debian/rules: remove config.{sub,guess} in clean target and copy them
+ over in configure target as a preparation for source format "3.0 (quilt)";
+ thanks to Raphaël Hertzog for the bug report (closes: #482730).
-- gregor herrmann <gregor+debian@comodo.priv.at> Mon, 24 Dec 2007 23:22:07 +0100
config.status: configure
dh_testdir
+
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
build: build-stamp
-build-stamp: $(QUILT_STAMPFN) config.status
+build-stamp: config.status $(QUILT_STAMPFN)
dh_testdir
$(MAKE)
- #cd $(CURDIR)/doc && $(MAKE) docs
$(MAKE) -C $(CURDIR)/doc docs
touch $@
dh_testdir
dh_testroot
+ rm -f config.sub config.guess
[ ! -f Makefile ] || $(MAKE) distclean
[ ! -f $(CURDIR)/doc/Makefile ] || $(MAKE) -C $(CURDIR)/doc dist-clean
- #-cd $(CURDIR)/doc && $(MAKE) dist-clean
-
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
dh_clean build-stamp install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
- dh_clean -k
+ dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
touch $@
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install