Added bug cases. Added decent support for distclean
[fw/sdcc] / doc / clean.mk
diff --git a/doc/clean.mk b/doc/clean.mk
new file mode 100644 (file)
index 0000000..2e7d978
--- /dev/null
@@ -0,0 +1,11 @@
+# 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
+
+# now get rid of the generated pdf's and html's as well
+superclean: clean
+       rm -rf *.pdf $(MANUAL).html $(TSS).html
+
+distclean: superclean