| 1 | --- |
| 2 | - name: autogen.sh |
| 3 | shell: chdir={{ item }} ./autogen.sh |
| 4 | with_items: "{{ trg_path }}" |
| 5 | |
| 6 | - name: configure |
| 7 | shell: chdir={{ item }} CFLAGS="-g -O0 -Werror -Wall -Wno-error=cpp -Wno-error=maybe-uninitialized" \ |
| 8 | ./configure \ |
| 9 | --prefix=/usr \ |
| 10 | --exec-prefix=/usr \ |
| 11 | --bindir=/usr/bin \ |
| 12 | --sbindir=/usr/sbin \ |
| 13 | --sysconfdir=/etc \ |
| 14 | --datadir=/usr/share \ |
| 15 | --includedir=/usr/include \ |
| 16 | --libdir=/usr/lib64 \ |
| 17 | --libexecdir=/usr/libexec \ |
| 18 | --localstatedir=/var \ |
| 19 | --sharedstatedir=/var/lib \ |
| 20 | --mandir=/usr/share/man \ |
| 21 | --infodir=/usr/share/info \ |
| 22 | --libdir=/usr/lib64 \ |
| 23 | --enable-debug |
| 24 | with_items: "{{ trg_path }}" |
| 25 | |
| 26 | - name: make install |
| 27 | shell: chdir={{ item }} make install |
| 28 | with_items: "{{ trg_path }}" |
| 29 |