Tidied up the build, install, and regression tests.
[fw/sdcc] / doc / Makefile
index 80410d28a4c1cc672a427f35c50619c096a4e8a8..d014b034520443e1ca1b07f69b63d8c16cd3c340 100644 (file)
@@ -17,7 +17,7 @@ install:
        if [ -f $(MANUAL).pdf             ]; then cp -rf $(MANUAL).pdf  $(docdir); fi
        if [ -f $(TSS).pdf                ]; then cp -rf $(TSS).pdf     $(docdir); fi
        if [ -f $(CDB).pdf                ]; then cp -rf $(CDB).pdf     $(docdir); fi
-       find $(docdir) -name CVS -type d -exec rm -r {} \;
+       find -d $(docdir) -name CVS -type d -exec rm -r {} \;
        rm -f $(docdir)/*/WARNINGS $(docdir)/*/*.pl $(docdir)/*/images.*
 
 uninstall: