* configure.in, Makefile.common.in: add support for ccache,
[fw/sdcc] / doc / clean.mk
index add9f7fa235a7f29f1171cd25e7dad8d0751fb69..c2caee07e2bab975a929088364726d80d77b6f20 100644 (file)
@@ -4,6 +4,7 @@ clean:
                *.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 *.lyx; fi
 
 # Deleting all files created by configuring or building the program
 # -----------------------------------------------------------------