X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2Fclean.mk;h=b5cd2e7b9dd109f062fc7e8e34b7c41a458562a5;hb=80972b2e54c9b88f11c27b878874fd2a6a681391;hp=2e7d978a9707f5d82bfc2315ac72be7b5776b50d;hpb=2ee35049f829fc523bab32504f31cfdef6745757;p=fw%2Fsdcc diff --git a/doc/clean.mk b/doc/clean.mk index 2e7d978a..b5cd2e7b 100644 --- a/doc/clean.mk +++ b/doc/clean.mk @@ -1,11 +1,21 @@ -# remove intermediate file, not the final pdf's and html's -# because these are needed for the distribution clean: - rm -rf *.tex *.aux *.dvi *.idx *.ilg *.ind *.log *.toc *~ \#* \ - *.ps */*.css */*.pl *.gif core + rm -rf $(MANUAL).html $(TSS).html $(CDB).html + rm -rf $(MANUAL).txt $(TSS).txt $(CDB).txt \ + *.pdf *.tex *.aux *.dvi *.idx *.ilg *.out\ + *.ind *.log *.toc *~ \#* *.ps */*.css */*.pl *.gif core *.glo + rm -rf sdcc-doc sdcc-doc.tar.bz2 + if [ "$(srcdir)" != "." ]; then rm -f *.lyx; fi -# now get rid of the generated pdf's and html's as well -superclean: clean - rm -rf *.pdf $(MANUAL).html $(TSS).html +# Deleting all files created by configuring or building the program +# ----------------------------------------------------------------- +distclean: clean + rm -f Makefile -distclean: superclean +# Like clean but some files may still exist +# ----------------------------------------- +mostlyclean: clean + +# Deleting everything that can reconstructed by this Makefile. It deletes +# everything deleted by distclean plus files created by bison, etc. +# ----------------------------------------------------------------------- +realclean: distclean