diff mbox series

[Unstable/Lunar,1/5] UBUNTU: [Packaging] debian/rules: Remove unused target 'diffupstream'

Message ID 20230113094537.265143-2-juerg.haefliger@canonical.com
State New
Headers show
Series Clean up rules.d/1-maintainer.mk | expand

Commit Message

Juerg Haefliger Jan. 13, 2023, 9:45 a.m. UTC
The maintainer make target 'diffupstream' is old/obsolete/unused, so
remove it.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
 debian/rules.d/1-maintainer.mk | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/debian/rules.d/1-maintainer.mk b/debian/rules.d/1-maintainer.mk
index e32ea9c78eab..8373b81ed2cb 100644
--- a/debian/rules.d/1-maintainer.mk
+++ b/debian/rules.d/1-maintainer.mk
@@ -1,7 +1,7 @@ 
 # The following targets are for the maintainer only! do not run if you don't
 # know what they do.
 
-.PHONY: printenv updateconfigs defaultconfigs genconfigs migrateconfigs printchanges insertchanges startnewrelease diffupstream help autoreconstruct finalchecks
+.PHONY: printenv updateconfigs defaultconfigs genconfigs migrateconfigs printchanges insertchanges startnewrelease help autoreconstruct finalchecks
 
 help:
 	@echo "These are the targets in addition to the normal $(DEBIAN) ones:"
@@ -22,8 +22,6 @@  help:
 	@echo
 	@echo "  startnewrelease : Start a new changelog set"
 	@echo
-	@echo "  diffupstream    : Diff stock kernel code against upstream (git)"
-	@echo
 	@echo "  compileselftests : Only compile the selftests listed on ubuntu_selftests variable"
 	@echo
 	@echo "  runselftests    : Run the selftests listed on ubuntu_selftests variable"
@@ -148,9 +146,6 @@  ifeq ($(do_fips_checks),true)
 endif
 	$(DROOT)/scripts/misc/final-checks "$(DEBIAN)" "$(prev_fullver)"
 
-diffupstream:
-	@git diff-tree -p refs/remotes/linux-2.6/master..HEAD $(shell ls | grep -vE '^(ubuntu|$(DEBIAN)|\.git.*)')
-
 startnewrelease:
 	dh_testdir
 	@[ -f "$(DEBIAN)/etc/update.conf" ] && . "$(DEBIAN)/etc/update.conf"; \