File: 03-parallel_mdoc.patch

package info (click to toggle)
appindicator3-sharp 12.10.0%2Bgit20151221-5.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 208 kB
  • sloc: makefile: 103; sh: 3
file content (26 lines) | stat: -rw-r--r-- 810 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Author: Andrew Shadura <andrewsh@debian.org>
Description: Don't run things twice.

--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -15,9 +15,6 @@
 update:
 	$(MDOC) update --out=en $(ASSEMBLIES)
 
-$(srcdir)/en/*/*.xml $(srcdir)/en/*.xml:
-	$(MDOC) update --out=en $(ASSEMBLIES)
-
 $(ASSEMBLY_NAME)-docs.source:
 	@echo "Generating $@"
 	@echo "<?xml version=\"1.0\"?>" > $@
@@ -25,7 +22,9 @@
 	@echo "  <source provider=\"ecma\" basefile=\"$(ASSEMBLY_NAME)-docs\" path=\"classlib-$(ASSEMBLY_SHORTNAME)\"/>" >> $@
 	@echo "</monodoc>" >> $@
 
-$(ASSEMBLY_NAME)-docs.zip $(ASSEMBLY_NAME)-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
+$(ASSEMBLY_NAME)-docs.zip $(ASSEMBLY_NAME)-docs.tree: assemble
+
+assemble: update
 	$(MDASSEMBLER) --ecma $(srcdir)/en -o $(ASSEMBLY_NAME)-docs
 
 CLEANFILES = $(TARGETS)