1 |
commit: 6f5b13920552d6882bcb5103e84d3a3146bd632c |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 7 05:33:15 2020 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 7 05:33:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=6f5b1392 |
7 |
|
8 |
Makefile: Drop "delete-old" from all prerequisites. |
9 |
|
10 |
By popular demand. |
11 |
|
12 |
Also drop "prereq" as prerequisite of "validate", because it is |
13 |
already listed with "all". |
14 |
|
15 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
16 |
|
17 |
Makefile | 6 +++--- |
18 |
1 file changed, 3 insertions(+), 3 deletions(-) |
19 |
|
20 |
diff --git a/Makefile b/Makefile |
21 |
index d379bd3..d1515fb 100644 |
22 |
--- a/Makefile |
23 |
+++ b/Makefile |
24 |
@@ -10,7 +10,7 @@ IMAGES := $(patsubst %.svg,%.png,$(SVGS)) |
25 |
# Nonzero value disables external assets for offline browsing. |
26 |
OFFLINE = 0 |
27 |
|
28 |
-all: prereq validate delete-old build documents.js |
29 |
+all: prereq validate build documents.js |
30 |
|
31 |
prereq: |
32 |
@type rsvg-convert >/dev/null 2>&1 || \ |
33 |
@@ -54,7 +54,7 @@ documents.js: bin/build_search_documents.py $(XMLS) |
34 |
%.html: $$(dir $$@)text.xml devbook.xsl xsl/*.xsl $$(subst text.xml,index.html,$$(wildcard $$(dir $$@)*/text.xml)) |
35 |
xsltproc --param offline "$(OFFLINE)" devbook.xsl $< > $@ |
36 |
|
37 |
-validate: prereq |
38 |
+validate: |
39 |
@xmllint --noout --dtdvalid devbook.dtd $(XMLS) \ |
40 |
&& echo "xmllint validation successful" |
41 |
|
42 |
@@ -77,7 +77,7 @@ delete-old: |
43 |
$(filter %/index.html %.png,$(ALL_FILES))) |
44 |
@find . ! -path './.git*' -type d -empty -delete |
45 |
|
46 |
-clean: delete-old |
47 |
+clean: |
48 |
@rm -f $(HTMLS) $(IMAGES) _documents.js documents.js |
49 |
|
50 |
.PHONY: all prereq validate build tidy delete-old clean |