debian/ptscotch.manpages
raw| 1 | #!/bin/bash |
| 2 | echo debian/man/ptscotch_esmumps.1 |
| 3 | |
| 4 | for dg in man/man1/dg*.1; do |
| 5 | echo $dg |
| 6 | done |
| 7 | |
| 8 | # separate scotch from ptscotch binaries |
| 9 | PTSCOTCH_BINARIES=$( for f in debian/tmp/usr/bin/*; do |
| 10 | if objdump -p $f | grep -q libptscotch.so; then |
| 11 | echo `basename $f`; |
| 12 | fi; |
| 13 | done) |
| 14 | |
| 15 | for file in $PTSCOTCH_BINARIES; do |
| 16 | p=debian/tmp/usr/share/man/man1/${file}.1 |
| 17 | if [ -e $p ]; then |
| 18 | echo $p |
| 19 | fi |
| 20 | done |