[PATCH] btrfs-progs: fixup: v2 Documentation: placeholder for contents.rst file

Anand Jain
2024-01-11T04:21:20Z

We don't need touch Documentation/contents.rst in the Makefile when
Documentation/Makefile.in is doing it. Fix the devel commit 7479e750ba65
("btrfs-progs: docs: placeholder for contents.rst file on older sphinx version").

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
Makefile | 6 ------
1 file changed, 6 deletions(-)

diff --git a/Makefile b/Makefile
index d206928e9c86..374f59b99150 100644
--- a/Makefile
+++ b/Makefile
@@ -417,12 +417,6 @@ endif
.PHONY: $(CLEANDIRS)
.PHONY: all install clean
.PHONY: FORCE
-.PHONY: contents.rst
-
-contents.rst:
- @if [ "$$(sphinx-build --version | cut -d' ' -f2)" \< "1.7.7" ]; then \
- touch Documentation/contents.rst; \
- fi

# Create all the static targets
static_objects = $(patsubst %.o, %.static.o, $(objects))
--
2.39.2