diff options
author | Doug Schaefer | 2016-05-26 14:34:22 +0000 |
---|---|---|
committer | Doug Schaefer | 2016-05-27 03:25:49 +0000 |
commit | d4a911baa808adad017219b514266db19f70a532 (patch) | |
tree | ce6a6e498a6e0faf3e611a490de5a6f19964190e /build | |
parent | bb79c6674339cd53be65e5c24cce730dee994359 (diff) | |
download | org.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.
Change-Id: Id5039869212f6b900fb423ea1cd5b27782cc9ad5
Diffstat (limited to 'build')
-rw-r--r-- | build/org.eclipse.cdt.autotools.docs/pom.xml | 29 |
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 e2d62fe67d0..73c3e317605 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> |