File: convert-docs-HTML.patch

package info (click to toggle)
filius 2.9.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,760 kB
  • sloc: java: 36,441; xml: 1,141; sh: 33; makefile: 5
file content (53 lines) | stat: -rw-r--r-- 1,623 bytes parent folder | download
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Description: Generate HTML from markdown during build.
Author: Andreas B. Mundt <andi@debian.org>
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/pom.xml
+++ b/pom.xml
@@ -438,6 +438,45 @@
 							</execution>
 						</executions>
 					</plugin>
+					<plugin>
+						<groupId>org.codehaus.mojo</groupId>
+						<artifactId>exec-maven-plugin</artifactId>
+						<version>3.1.0</version>
+						<executions>
+							<execution>
+								<id>en</id>
+								<phase>prepare-package</phase>
+								<goals>
+									<goal>exec</goal>
+								</goals>
+								<configuration>
+									<executable>pandoc</executable>
+									<workingDirectory>src/info/</workingDirectory>
+									<arguments>
+										<argument>-o</argument>
+										<argument>Introduction_Filius.html</argument>
+										<argument>Introduction_Filius.md</argument>
+									</arguments>
+								</configuration>
+							</execution>
+							<execution>
+								<id>de</id>
+								<phase>prepare-package</phase>
+								<goals>
+									<goal>exec</goal>
+								</goals>
+								<configuration>
+									<executable>pandoc</executable>
+									<workingDirectory>src/info/</workingDirectory>
+									<arguments>
+										<argument>-o</argument>
+										<argument>Einfuehrung_Filius.html</argument>
+										<argument>Einfuehrung_Filius.md</argument>
+									</arguments>
+								</configuration>
+							</execution>
+						</executions>
+					</plugin>
 					<!-- Create Debian Package (used for Ubuntu Platform) -->
 					<plugin>
 						<artifactId>jdeb</artifactId>