aboutsummaryrefslogtreecommitdiff
path: root/dragons/build.sh
blob: 85135a38ba7c3e07ba1e8ff4baabca55e5419638 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Build the package in the usual way:
$PYTHON setup.py install || exit 1

# Build the Sphinx documentation with our purpose-built LaTeX package:
docs="astrodata/doc/ad_CheatSheet astrodata/doc/ad_ProgManual \
      astrodata/doc/ad_UserManual recipe_system/doc/rs_ProgManual \
      recipe_system/doc/rs_UsersManual geminidr/doc/progmanuals/notes4manual \
      geminidr/doc/tutorials/F2Img-DRTutorial \
      geminidr/doc/tutorials/GSAOIImg-DRTutorial \
      geminidr/doc/tutorials/NIRIImg-DRTutorial \
      doc/DRAGONS gempy/doc/mosaic"

# Doc build to be completed here. Need to add a doc build step / script to
# DRAGONS itself, to keep things modular and allow building everything without
# the conda recipe.

#(cd doc/ && make html && make latexpdf) || exit 1

# Install the LICENSE file(s) where recipients can read them:
mkdir -p ${PREFIX}/share/dragons/
cp -p LICENSE ${PREFIX}/share/dragons/ || exit 1
#cp -pR extern_licenses ${PREFIX}/share/dragons/  # PUT THIS BACK!