user/dev discussion of public-inbox itself
 help / color / Atom feed
* [PATCH] doc: avoid redundant mkdir(1) calls
@ 2019-09-30 21:53 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2019-09-30 21:53 UTC (permalink / raw)
  To: meta

GNU make has order-only prerequisites, so use it to avoid
redundant mkdir(1) calls since our homepage requires GNU
make to build anyways.
 Documentation/ | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/ b/Documentation/
index 8501adc8..9a132962 100644
--- a/Documentation/
+++ b/Documentation/
@@ -125,8 +125,10 @@ gz_xdocs := $(addsuffix .gz, $(xdocs) $(xdocs_html))
 rsync_xdocs := $(gz_xdocs) $(xdocs_html) $(xdocs)
 xdoc: $(xdocs) $(xdocs_html)
-	@-mkdir -p $(@D)
+	mkdir -p $@
+Documentation/.x/%.txt :: | Documentation/.x
 	$(PERL) -w Documentation/extman.perl $@ >$@+
 	mv $@+ $@

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-30 21:53 [PATCH] doc: avoid redundant mkdir(1) calls Eric Wong

user/dev discussion of public-inbox itself

Archives are clonable:
	git clone --mirror
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

Example config snippet for mirrors

Newsgroups are available over NNTP:

 note: .onion URLs require Tor:

AGPL code for this site: git clone