Enabled VPATH feature: changed nearly all Makefiles (149 files).
[fw/sdcc] / doc / clean.mk
index 469bc7a36e008c18e38fab1fd98ae56092249ed9..add9f7fa235a7f29f1171cd25e7dad8d0751fb69 100644 (file)
@@ -1,7 +1,5 @@
 clean:
-# The directories are still in Subversion, 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 *.out\
                *.ind *.log *.toc *~ \#* *.ps */*.css */*.pl *.gif core *.glo
@@ -10,6 +8,7 @@ clean:
 # Deleting all files created by configuring or building the program
 # -----------------------------------------------------------------
 distclean: clean
+       rm -f Makefile
 
 # Like clean but some files may still exist
 # -----------------------------------------