File: builder.sh

package info (click to toggle)
condor 8.6.8~dfsg.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 79,476 kB
  • sloc: cpp: 649,368; perl: 108,260; python: 22,654; ansic: 20,588; sh: 19,729; fortran: 3,340; yacc: 1,844; makefile: 1,213; xml: 1,003; sql: 767; java: 703; ruby: 512; awk: 505; lex: 248; f90: 64; csh: 24
file content (37 lines) | stat: -rw-r--r-- 944 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This is the nix builder script for release.nix

source $stdenv/setup

buildPhase() {
    cd doc
    ensureDir $out

    ## html
    make TARGETDIR=$out/html ref.html

    ## nroff
    make just-man-pages
    cp -a man $out/man

    ## dvi
    make ref.dvi
    cp ref.dvi $out/manual.dvi

    ## ps
    make ref.ps
    cp ref.ps $out/manual.ps

    ## pdf
    make ref.pdf
    cp ref.pdf $out/manual.pdf

    # support hydra builds as published on http://hydra.batlab.org/project/condor/
    ensureDir $out/nix-support
    echo "doc manual $out/html" >>$out/nix-support/hydra-build-products
    echo "doc-pdf manual $out/manual.pdf" >> $out/nix-support/hydra-build-products
    echo "doc dvi $out/manual.dvi" >> $out/nix-support/hydra-build-products
    echo "doc ps $out/manual.ps" >> $out/nix-support/hydra-build-products
    echo "doc release-notes $out/html/8_Version_History.html" >> $out/nix-support/hydra-build-products
}

genericBuild