Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2016-05-26 10:34:22 -0400
committerDoug Schaefer2016-05-26 23:25:49 -0400
commitd4a911baa808adad017219b514266db19f70a532 (patch)
treece6a6e498a6e0faf3e611a490de5a6f19964190e /build/org.eclipse.cdt.autotools.docs
parentbb79c6674339cd53be65e5c24cce730dee994359 (diff)
downloadorg.eclipse.cdt-d4a911baa808adad017219b514266db19f70a532.tar.gz
org.eclipse.cdt-d4a911baa808adad017219b514266db19f70a532.tar.xz
org.eclipse.cdt-d4a911baa808adad017219b514266db19f70a532.zip
Create a dummy file in the user doc index when skipDoc.
Diffstat (limited to 'build/org.eclipse.cdt.autotools.docs')
-rw-r--r--build/org.eclipse.cdt.autotools.docs/pom.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.autotools.docs/pom.xml b/build/org.eclipse.cdt.autotools.docs/pom.xml
index e2d62fe67d..73c3e31760 100644
--- a/build/org.eclipse.cdt.autotools.docs/pom.xml
+++ b/build/org.eclipse.cdt.autotools.docs/pom.xml
@@ -58,5 +58,34 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>fake-doc</id>
+ <activation>
+ <property>
+ <name>skipDoc</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.8</version>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <configuration>
+ <target>
+ <touch file="index/indexed_docs" mkdirs="true"/>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>

Back to the top