Pārlūkot izejas kodu

Recursive clean in Makefile implemented

master
Dirk Alders 4 gadus atpakaļ
vecāks
revīzija
9bad94d079
3 mainītis faili ar 6 papildinājumiem un 2 dzēšanām
  1. 4
    0
      Makefile
  2. 1
    1
      state_machine
  3. 1
    1
      stringtools

+ 4
- 0
Makefile Parādīt failu

@@ -29,6 +29,10 @@ html: Makefile
29 29
 
30 30
 clean: Makefile
31 31
 	rm -f *.rst
32
+	@for module in $(MODULES) ; do \
33
+		if [ -d "$$module/_examples_" ]; then make --no-print-directory -C $$module/_examples_ clean; fi \
34
+		#if [-d "$$module/_examples_" ]; then make --no-print-directory -C $$module/_examples_ clean; fi\
35
+	done
32 36
 	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
33 37
 
34 38
 index.rst: Makefile

+ 1
- 1
state_machine

@@ -1 +1 @@
1
-Subproject commit 2bd816297527e77fb44a03ddf4aca35124f6f303
1
+Subproject commit db70e14d4650c9894ee0ff5c5c6078264ce59b46

+ 1
- 1
stringtools

@@ -1 +1 @@
1
-Subproject commit f5453861f646873b1800e657faa9e4b8684c21ba
1
+Subproject commit 5ac92e2b864cd27bd4026352ba9149f4d23ca019

Notiek ielāde…
Atcelt
Saglabāt