[OS-BUILD PATCHv5 11/26] [redhat] Makefile: remove unused dist-check-variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ben Crocker <bcrocker@xxxxxxxxxx>

Remove the dist-check-variables target.  Everything we
WERE going to do for dist-check-variables is done in
dist-dump-variables + BATS test.

Signed-off-by: Ben Crocker <bcrocker@xxxxxxxxxx>
---
 redhat/Makefile | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/redhat/Makefile b/redhat/Makefile
index ffb479a7d43b..5ea04019d763 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -168,7 +168,6 @@ dist-clean-rpmdirs:
 
 dist-clean-scripts:
 	@if [ -f dist-dump-variables.sh ]; then rm dist-dump-variables.sh; fi
-	@if [ -f dist-check-variables.sh ]; then rm dist-check-variables.sh; fi
 
 dist-clean: dist-clean-sources dist-clean-configs dist-clean-rpmdirs dist-clean-scripts
 
@@ -393,11 +392,6 @@ dist-dump-variables:
 	chmod +x $(REDHAT)/dist-dump-variables.sh
 	@$(REDHAT)/dist-dump-variables.sh
 
-dist-check-variables:
-	grep "^[ 	]*[a-zA-Z_][a-zA-Z_0-9]*[ 	]*[:?]*=" $(REDHAT)/Makefile.common | sed -e 's/[ 	]*\([a-zA-Z_][a-zA-Z_0-9]*\).*/echo "\1=$$\1"/' | sort | uniq > dist-check-variables.sh
-	chmod +x $(REDHAT)/dist-check-variables.sh
-	@$(REDHAT)/dist-check-variables.sh
-
 dist-help:
 	@echo  'Cleaning targets:'
 	@echo  '  dist-clean          - Clean redhat/configs/ and redhat/rpm/ directories.'
-- 
GitLab
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux