File bsc1239810_05-make-remove-redundant-definitions-from-Postamble.mak.patch of Package ocfs2-test
From 50f1b3c68720f7670097353d86a5b078876639d0 Mon Sep 17 00:00:00 2001
From: Heming Zhao <heming.zhao@suse.com>
Date: Fri, 21 Mar 2025 13:36:43 +0800
Subject: [PATCH 5/6] make: remove redundant definitions from Postamble.make
make reports following warnings:
> Postamble.make:196: warning: overriding recipe for target 'dist-bye'
> Makefile:66: warning: ignoring old recipe for target 'dist-bye'
> Postamble.make:199: warning: overriding recipe for target 'dist-fresh'
> Makefile:69: warning: ignoring old recipe for target 'dist-fresh'
> Postamble.make:202: warning: overriding recipe for target 'dist'
> Makefile:72: warning: ignoring old recipe for target 'dist'
> Postamble.make:206: warning: overriding recipe for target 'distclean'
> Makefile:76: warning: ignoring old recipe for target 'distclean'
The dist-bye dist-fresh dist distclean can be created by automake and
same in the Makefile. This commit removes them from Postamble.make
Signed-off-by: Heming Zhao <heming.zhao@suse.com>
---
Postamble.make | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/Postamble.make b/Postamble.make
index c4c583bb8841..952d2a4b1c0d 100644
--- a/Postamble.make
+++ b/Postamble.make
@@ -192,20 +192,6 @@ dist-copy: dist-mkdir $(DIST_ALL_FILES) $(DIST_RULES)
dist-all: dist-copy dist-subdirs
-dist-bye:
- -rm -rf $(DIST_TOPDIR)
-
-dist-fresh: dist-bye
- $(TOPDIR)/mkinstalldirs $(DIST_TOPDIR)
-
-dist: dist-fresh dist-all
- GZIP=$(GZIP_OPTS) tar chozf $(DIST_TOPDIR).tar.gz $(DIST_TOPDIR)
- $(MAKE) dist-bye
-
-distclean: clean
- rm -f Config.make config.status config.cache config.log
-
-
LOCAL_DFILES := $(wildcard .*.d)
ifneq ($(LOCAL_DFILES),)
.PHONY: $(LOCAL_DFILES)
--
2.43.0