diff mbox series

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

Message ID adb208f0750fdbca06594f775eb0a81f886574c7.1704942814.git.anand.jain@oracle.com (mailing list archive)
State New, archived
Headers show
Series btrfs-progs: fixup: v2 Documentation: placeholder for contents.rst file | expand

Commit Message

Anand Jain Jan. 11, 2024, 4:21 a.m. UTC
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(-)

Comments

David Sterba Jan. 11, 2024, 4:05 p.m. UTC | #1
On Thu, Jan 11, 2024 at 12:21:00PM +0800, Anand Jain wrote:
> 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").

Thanks, I was not sure if the file should be in the toplevel directory
too. Updated in devel.
diff mbox series

Patch

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))