gitlab-ci: skip org-mode in mingw builds

* .gitlab-ci.yml: Here.
* doc/Makefile.am: Make sure the svg files are only rebuilt when org
files are processed.
This commit is contained in:
Alexandre Duret-Lutz 2018-04-07 13:50:37 +02:00
parent cbfbf53617
commit be9096a5cd
2 changed files with 9 additions and 4 deletions

View file

@ -117,6 +117,7 @@ mingw-shared:
script:
- autoreconf -vfi
- ./configure CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++-posix --host i686-w64-mingw32 --disable-python
- touch doc/org-stamp
- make
artifacts:
when: on_failure
@ -135,6 +136,7 @@ mingw-static:
- mkdir install_dir
- autoreconf -vfi
- ./configure CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++-posix --host i686-w64-mingw32 --disable-python --disable-shared --enable-optimizations --disable-devel LDFLAGS='-static-libgcc -static-libstdc++ -Wl,-Bstatic,--whole-archive -Wl,-lwinpthread -Wl,--no-whole-archive' --prefix=/usr
- touch doc/org-stamp
- make
- make install-exec DESTDIR=$PWD/install_dir
- VERSION=`autoconf --trace='AC_INIT:$2'`