From d0dc83b60ae21ab173ce4b628760b1731e4ab77e Mon Sep 17 00:00:00 2001 From: Ed Kellett Date: Wed, 21 Oct 2020 01:45:09 +0100 Subject: [PATCH] Manage help indexes properly in makefile --- help/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/help/Makefile.am b/help/Makefile.am index cc9e8a25..9826b299 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -1,7 +1,7 @@ # Generated automatically from Makefile.in by configure. -# makefile for include/ +# makefile for help/ -AUTOMAKE_OPTIONS = foreign +AUTOMAKE_OPTIONS = foreign prefix= @prefix@ exec_prefix= @execprefix@ @@ -17,10 +17,12 @@ SYMLINKS= topic accept cmode admin names links away whowas \ all: index build: -clean: depend: lint: +clean: + rm -f users/index users/index.tmp opers/index opers/index.tmp + index: @echo building index files @rm -f users/index.tmp @@ -59,7 +61,7 @@ index: >> opers/index @rm -f opers/index.tmp -install: +install: index -@if test -d $(DESTDIR)$(helpdir)-old; then \ rm -rf $(DESTDIR)$(helpdir)-old; \ fi