Package: pass-extension-update
Version: 2.2.1-1
Severity: normal
Tags: patch

Hi,

The upstream Makefile clean target removes
"debian/pass-extension-update*", and the README.md file does not get
installed into the binary package.

The attached patch fixes this by not running "make clean".

>From 954040aa82c57f841ee3542a91b3505b5ff7d7bd Mon Sep 17 00:00:00 2001
From: Teemu Hukkanen <[email protected]>
Date: Wed, 12 Aug 2026 13:39:33 +0300
Subject: [PATCH] Fix installation of upstream README.md

The upstream Makefile clean target removes
"debian/pass-extension-update*", thus removing the .docs file that
would cause installation of README.md.

The upstream Makefile clean target isn't useful for the purposes of
the Debian package, override dh_auto_clean with an empty target, so
that "make clean" doesn't get run, fixing the installation of
README.md.
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 000210b..47add64 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,5 @@
 
 %:
 	dh ${@}
+
+override_dh_auto_clean: ;
-- 
2.55.0

Reply via email to