linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* make cleandocs issue: rm -rf /output when obj not defined
@ 2021-07-24 19:56 pioneer695
  2021-07-25 20:11 ` Jonathan Corbet
  0 siblings, 1 reply; 5+ messages in thread
From: pioneer695 @ 2021-07-24 19:56 UTC (permalink / raw)
  To: corbet@lwn.net; +Cc: linux-doc@vger.kernel.org

In an attempt to get some readable documentation I cloned the git repository
to check how the PDF format is.

Entered Documentation and proceeded with:

	make pdfdocs

which failed, so to start fresh, my thought was that:

	make cleandocs

would be the next step before anything else. But, this resulted in:

	rm -rf /output

as $(obj) for some reason was empty.

Makefile for Documentation has:

	BUILDDIR      = $(obj)/output

	cleandocs:
		$(Q)rm -rf $(BUILDDIR)


This should (at least?!) be:

	BUILDDIR      = ./$(obj)/output
or:
	$(Q)rm -rf ./$(BUILDDIR)


Best regards,

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-17 21:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-24 19:56 make cleandocs issue: rm -rf /output when obj not defined pioneer695
2021-07-25 20:11 ` Jonathan Corbet
2021-07-25 20:53   ` Randy Dunlap
2021-07-27 11:25     ` Matthew Wilcox
2021-08-17 21:23     ` pioneer695

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).