Skip to content

Commit 3b05576

Browse files
committed
More consistent Makefile
1 parent af88a61 commit 3b05576

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Makefile

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
# You can set these variables from the command line, and also
2-
# from the environment for the first two.
1+
# You can set these variables from the command line.
32
SPHINXOPTS ?= -W --keep-going
4-
SOURCEDIR = ./spec
3+
SOURCEDIR = spec
54
BUILDDIR = _site
65

7-
.PHONY: all clean build
6+
.PHONY: default clean build
87

9-
all: clean build
8+
default: clean build
109

1110
clean:
1211
-rm -rf $(BUILDDIR)
13-
-rm -rf $(SOURCEDIR)/**/generated
12+
-find . -type d -name generated -exec rm -rf {} +
1413

1514
build:
1615
-mkdir -p $(BUILDDIR)

0 commit comments

Comments
 (0)