aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--doc/Makefile.doc2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 440c1c2a..fa5f5660 100644
--- a/Makefile
+++ b/Makefile
@@ -113,10 +113,11 @@ all: compile
## Remove generated targets
##
clean: cleanpgscripts
- rm -f $(ELC) *~ */*~ .\#* */.\#* */.autotest.log */.profile.log
+ rm -f $(ELC) .\#* */.\#* */.autotest.log */.profile.log
(cd doc; $(MAKE) clean)
distclean: clean
+ rm -f *~ */*~
##
## Install files
diff --git a/doc/Makefile.doc b/doc/Makefile.doc
index 805a6292..87e1d1cb 100644
--- a/doc/Makefile.doc
+++ b/doc/Makefile.doc
@@ -90,13 +90,13 @@ info: $(DOCNAME).info
CLEANTARGS:=$(DOCNAME).cp $(DOCNAME).fn $(DOCNAME).vr $(DOCNAME).tp $(DOCNAME).ky $(DOCNAME).kys $(DOCNAME).pg $(DOCNAME).fns $(DOCNAME).vrs $(DOCNAME).cps $(DOCNAME).aux $(DOCNAME).log $(DOCNAME).cp $(DOCNAME).cp0 $(DOCNAME).toc
clean:
rm -f $(CLEANTARGS)
- rm -f *~
##
## distclean: Remove documentation targets
##
distclean: clean
rm -rf $(DOCNAME).info* $(DOCNAME).pdf $(DOCNAME)
+ rm -f *~
##
## texi: update magic comments in texi from docstrings in code.