bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] lib/readline/doc makefiles clean targets


From: Mike Jonkmans
Subject: [PATCH] lib/readline/doc makefiles clean targets
Date: Tue, 29 Oct 2024 18:04:07 +0100

Hi Chet et al.,

If I run, on devel (4917f285):
- ./configure
- make
- make clean
- git status

I would expect to see nothing special.
Instead:
a) a whole bunch of files got deleted in lib/readline/doc.
b) an untracked file appears: buildconf.h

The patch addresses a).
Not sure what to do about b). Could add to .gitignore or be cleaned.

---
 lib/readline/doc/Makefile    | 10 ++++------
 lib/readline/doc/Makefile.in | 10 ++++------
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git i/lib/readline/doc/Makefile w/lib/readline/doc/Makefile
index 8cba6e3e..7edc7207 100644
--- i/lib/readline/doc/Makefile
+++ w/lib/readline/doc/Makefile
@@ -179,19 +179,17 @@ text:     $(TEXTOBJ)
 pdf:   $(PDFOBJ)
 
 clean:
-       $(RM) *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
-             *.fns *.kys *.tps *.vrs *.bt *.bts *.o core *.core
+       $(RM) core *.core
 
 distclean: clean
        $(RM) $(CREATED_DOCS)
        $(RM) $(INTERMEDIATE_OBJ)
 
 mostlyclean: clean
 
-maintainer-clean: clean
-       $(RM) $(CREATED_DOCS)
-       $(RM) $(INTERMEDIATE_OBJ)
-       $(RM) Makefile
+maintainer-clean: distclean
+       $(RM) *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
+             *.fns *.kys *.tps *.vrs *.bt *.bts
 
 install:
        @echo "This documentation should not be installed."
diff --git i/lib/readline/doc/Makefile.in w/lib/readline/doc/Makefile.in
index ffaac4ab..2594a5a7 100644
--- i/lib/readline/doc/Makefile.in
+++ w/lib/readline/doc/Makefile.in
@@ -144,20 +144,18 @@ history.pdf:    history.dvi
 rluserman.pdf:  rluserman.dvi
 
 clean:
-       $(RM) *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
-             *.fns *.kys *.tps *.vrs *.bt *.bts *.o core *.core
+       $(RM) core *.core
 
 distclean: clean
        $(RM) $(CREATED_DOCS)
        $(RM) $(INTERMEDIATE_OBJ)
        $(RM) Makefile
 
 mostlyclean: clean
 
-maintainer-clean: clean
-       $(RM) $(CREATED_DOCS)
-       $(RM) $(INTERMEDIATE_OBJ)
-       $(RM) Makefile
+maintainer-clean: distclean
+       $(RM) *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
+             *.fns *.kys *.tps *.vrs *.bt *.bts
 
 install:
        @echo "This documentation should not be installed."

-- 
Regards, Mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]