From aa3316ce2e899e607778f6e03e853f726ed05e69 Mon Sep 17 00:00:00 2001 From: Juerg Haefliger Date: Tue, 10 Jan 2023 16:56:33 +0100 Subject: [PATCH] UBUNTU: [Packaging] debian/rules: Remove unused target 'diffupstream' The maintainer make target 'diffupstream' is old/obsolete/unused, so remove it. Signed-off-by: Juerg Haefliger Signed-off-by: Andrea Righi --- debian/rules.d/1-maintainer.mk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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"; \