Enabled VPATH feature: changed nearly all Makefiles (149 files).
[fw/sdcc] / doc / clean.mk
index 18f315e6525c55174a779d128d99f9ce2d3df250..add9f7fa235a7f29f1171cd25e7dad8d0751fb69 100644 (file)
@@ -1,14 +1,14 @@
 clean:
-# The directories are still in CVS, so don't delete them
-#       rm -rf $(MANUAL).html $(TSS).html
-       rm -rf $(MANUAL).html/* $(TSS).html/* $(CDB).html
+       rm -rf $(MANUAL).html $(TSS).html $(CDB).html
        rm -rf $(MANUAL).txt $(TSS).txt $(CDB).txt \
-               *.pdf *.tex *.aux *.dvi *.idx *.ilg \
+               *.pdf *.tex *.aux *.dvi *.idx *.ilg *.out\
                *.ind *.log *.toc *~ \#* *.ps */*.css */*.pl *.gif core *.glo
+       rm -rf sdcc-doc sdcc-doc.tar.bz2
 
 # Deleting all files created by configuring or building the program
 # -----------------------------------------------------------------
 distclean: clean
+       rm -f Makefile
 
 # Like clean but some files may still exist
 # -----------------------------------------