Last change
on this file was 32259, checked in by sjm84, 6 years ago |
Once more, redoing the folder structure of the xpdftools tarball once extracted
|
-
Property svn:executable
set to
*
|
File size:
1006 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | source devel.bash
|
---|
4 |
|
---|
5 | for d in packages ; do
|
---|
6 | echo "Running $d/CASCADE-MAKE.sh"
|
---|
7 |
|
---|
8 | (cd $d ; ./CASCADE-MAKE.sh $*)
|
---|
9 |
|
---|
10 | if [ $? != 0 ] ; then
|
---|
11 | echo "Error encountered running $d/CASCADE-MAKE.sh"
|
---|
12 | exit 1
|
---|
13 | fi
|
---|
14 | done
|
---|
15 |
|
---|
16 | # makedist: just put the files and folder we want in the distribution tarball
|
---|
17 | # Note that any directories specified for files in the whitelist will also go in
|
---|
18 | # maintaining directory structure. So "linux/bin/pdf*" will end up in the final
|
---|
19 | # extracted xpdf-tools folder, not just pdf*.
|
---|
20 | if [ $makedist = "1" ] ; then
|
---|
21 | # temporary folders to ensure folder structure of untarred distribution tarball is correct
|
---|
22 | mkdir -p bin
|
---|
23 | cp $GSDLOS/bin/pdf* bin/.
|
---|
24 | # As per xpdftools' README, licencing files (README, COPYING, COPYING3) and
|
---|
25 | # xpdf-tools' manpages need to be redistributed with xpdf-tools binaries
|
---|
26 | cp -r $GSDLOS/man .
|
---|
27 | toplevel_make_dist $GSDLOS bin man README COPYING*
|
---|
28 | # remove the temporary bin and man folders
|
---|
29 | rm -rf bin man
|
---|
30 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.