* as/link/lkar.h: sgetl and sputl are independent of endianness
[fw/sdcc] / doc / clean.mk
index b023de5e79f7ccc7de56b02eb3229e91c389090d..b5cd2e7b9dd109f062fc7e8e34b7c41a458562a5 100644 (file)
@@ -1,14 +1,15 @@
 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 *.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
 
 # Deleting all files created by configuring or building the program
 # -----------------------------------------------------------------
 distclean: clean
+       rm -f Makefile
 
 # Like clean but some files may still exist
 # -----------------------------------------