From bff038446432daba4ca94d1ceba04a3fda8a9973 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 2 Dec 2008 10:52:56 +0100 Subject: [PATCH] Note in tg2quilt.mk's header the need to soft-include the file This avoids the build dependency on topgit as debian/rules can be used just fine without the file present. Signed-off-by: martin f. krafft --- debian/changelog | 2 ++ debian/tg2quilt.mk | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 85b001c..13ced86 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ topgit (0.5-2) unstable; urgency=low in one step. * Actually install the bash completion script; thanks to Uwe Kleine-König for noticing and providing a patch (closes: #499072). + * Add a note to tg2quilt.mk's header explaining the need to soft-include + tg2quilt.mk, to avoid the topgit build-dependency. -- martin f. krafft Wed, 19 Nov 2008 17:58:45 +0100 diff --git a/debian/tg2quilt.mk b/debian/tg2quilt.mk index 5a041b9..a0f8d58 100644 --- a/debian/tg2quilt.mk +++ b/debian/tg2quilt.mk @@ -10,6 +10,10 @@ # include /usr/share/quilt/quilt.make # -include /usr/share/topgit/tg2quilt.mk # +# The leading dash is necessary for make not to die when the file is not +# installed. TopGit is not a build dependency (and does not need to be), and +# if the package is not installed, debian/rules can still be used normally. +# # The snippet exports the following targets. These targets only perform the # describe behaviour when invoked from a TopGit repository (`tg summary -t` # returns a non-empty set); used outside, they simply output informational -- 2.30.2