Browse Source

Remove doc from default make target

Peter Colberg 3 years ago
parent
commit
b7d7f66d10
1 changed files with 7 additions and 9 deletions
  1. 7
    9
      Makefile

+ 7
- 9
Makefile View File

@@ -17,13 +17,7 @@ FILES_DOC_HTML = index.html INSTALL.html README.html examples.html reference.htm
17 17
 FILES_EXAMPLES_INCLUDE = include.lua
18 18
 FILES_EXAMPLES_INCLUDE_TEST = included.lua main.lua
19 19
 
20
-all: doc
21
-
22
-test:
23
-	@$(MAKE) -C test
24
-
25
-doc:
26
-	@$(MAKE) -C doc
20
+all: test
27 21
 
28 22
 install:
29 23
 	$(INSTALL_D) $(DESTDIR)$(LUADIR)
@@ -36,6 +30,10 @@ install:
36 30
 	cd examples/include/test && $(INSTALL_F) $(FILES_EXAMPLES_INCLUDE_TEST) $(DESTDIR)$(DOCDIR)/examples/include/test
37 31
 
38 32
 clean:
39
-	@$(MAKE) -C doc clean
40 33
 
41
-.PHONY: test doc install clean
34
+SUBDIRS = test doc
35
+
36
+.PHONY: $(SUBDIRS)
37
+
38
+$(SUBDIRS):
39
+	@$(MAKE) -C $@

Loading…
Cancel
Save