diff octMakefile.in @ 2394:c96aa059938b

[project @ 1996-10-12 22:51:23 by jwe]
author jwe
date Sat, 12 Oct 1996 22:51:23 +0000
parents 08cfa39a0bb4
children cb2ed43762d0
line wrap: on
line diff
--- a/octMakefile.in	Sat Oct 12 22:11:38 1996 +0000
+++ b/octMakefile.in	Sat Oct 12 22:51:23 1996 +0000
@@ -35,7 +35,7 @@
 SUBDIRS = @INFO_DIR@ @PLPLOT_DIR@ @READLINE_DIR@ @DLFCN_DIR@ glob \
 	kpathsea libcruft liboctave src scripts doc examples
 
-# Subdirectories in which ot run `make conf-dist'.
+# Subdirectories in which to run `make conf-dist'.
 CONF_DISTSUBDIRS = src
 
 # Subdirectories in which to run `make dist'.
@@ -49,6 +49,9 @@
 # Subdirectories in which to run `make dist'.
 BINDISTSUBDIRS = emacs scripts doc
 
+# Subdirectories in which to run clean targets.
+CLEANSUBDIRS = $(DISTSUBDIRS) 
+
 DIRS_TO_MAKE = $(bindir) $(libdir) $(octincludedir) $(fcnfiledir) \
   $(octfiledir) $(archlibdir) \
   `echo $(localfcnfilepath) | awk -F: '{for (i=1; i<=NF; i++) print $i}'` \
@@ -105,7 +108,7 @@
 .PHONY: install uninstall tags
 
 clean mostlyclean distclean maintainer-clean::
-	$(foreach d, $(SUBDIRS) test, $(do-subdir-for-command))
+	$(foreach d, $(CLEANSUBDIRS), $(do-subdir-for-command))
 .PHONY: clean mostlyclean distclean maintainer-clean
 
 maintainer-clean distclean::