From: Eric Wong Date: Mon, 28 Nov 2022 05:31:37 +0000 (+0000) Subject: lei_mirror: add `index' target to generated Makefile X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=836faf5093dfec84aa3d1a0abd5c546e02b46541 lei_mirror: add `index' target to generated Makefile It can probably be a useful hint to avoid misleading users into always using `--reindex'. --- diff --git a/lib/PublicInbox/LeiMirror.pm b/lib/PublicInbox/LeiMirror.pm index 3bc19d2f..4b6da260 100644 --- a/lib/PublicInbox/LeiMirror.pm +++ b/lib/PublicInbox/LeiMirror.pm @@ -763,6 +763,7 @@ help : @echo Rarely needed targets: @echo ' make reindex - may be needed for new features/bugfixes' @echo ' make compact - rewrite Xapian storage to save space' + @echo ' make index - initial index after clone fetch : public-inbox-fetch @@ -779,12 +780,14 @@ update : echo 'public-inbox index not initialized'; \ echo 'see public-inbox-index(1) man page'; \ fi +index : + public-inbox-index reindex : public-inbox-index --reindex compact : public-inbox-compact -.PHONY : help fetch update reindex compact +.PHONY : help fetch update index reindex compact EOM close $fh or die "close($f): $!"; } else {