Skip to content

Commit

Permalink
Package man
Browse files Browse the repository at this point in the history
  • Loading branch information
nihil-admirari authored and BtbN committed Jun 23, 2023
1 parent 0071c27 commit 0e9c6f8
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 8 deletions.
3 changes: 3 additions & 0 deletions variants/linux-install-shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ package_variant() {

mkdir -p "$OUT"/doc
cp -r "$IN"/share/doc/ffmpeg/* "$OUT"/doc

mkdir -p "$OUT/man"
cp -r "$IN"/share/man/* "$OUT"/man
}
15 changes: 15 additions & 0 deletions variants/linux-install-static.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

package_variant() {
IN="$1"
OUT="$2"

mkdir -p "$OUT"/bin
cp "$IN"/bin/* "$OUT"/bin

mkdir -p "$OUT/doc"
cp -r "$IN"/share/doc/ffmpeg/* "$OUT"/doc

mkdir -p "$OUT/man"
cp -r "$IN"/share/man/* "$OUT"/man
}
2 changes: 1 addition & 1 deletion variants/linux64-gpl.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/default-install.sh
source "$(dirname "$BASH_SOURCE")"/linux-install-static.sh
source "$(dirname "$BASH_SOURCE")"/defaults-gpl.sh
2 changes: 1 addition & 1 deletion variants/linux64-lgpl.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/default-install.sh
source "$(dirname "$BASH_SOURCE")"/linux-install-static.sh
source "$(dirname "$BASH_SOURCE")"/defaults-lgpl.sh
2 changes: 1 addition & 1 deletion variants/linuxarm64-gpl.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/default-install.sh
source "$(dirname "$BASH_SOURCE")"/linux-install-static.sh
source "$(dirname "$BASH_SOURCE")"/defaults-gpl.sh
2 changes: 1 addition & 1 deletion variants/linuxarm64-lgpl.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/default-install.sh
source "$(dirname "$BASH_SOURCE")"/linux-install-static.sh
source "$(dirname "$BASH_SOURCE")"/defaults-lgpl.sh
2 changes: 1 addition & 1 deletion variants/win32-gpl.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/default-install.sh
source "$(dirname "$BASH_SOURCE")"/windows-install-static.sh
source "$(dirname "$BASH_SOURCE")"/defaults-gpl.sh
2 changes: 1 addition & 1 deletion variants/win32-lgpl.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/default-install.sh
source "$(dirname "$BASH_SOURCE")"/windows-install-static.sh
source "$(dirname "$BASH_SOURCE")"/defaults-lgpl.sh
2 changes: 1 addition & 1 deletion variants/win64-gpl.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/default-install.sh
source "$(dirname "$BASH_SOURCE")"/windows-install-static.sh
source "$(dirname "$BASH_SOURCE")"/defaults-gpl.sh
2 changes: 1 addition & 1 deletion variants/win64-lgpl.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/default-install.sh
source "$(dirname "$BASH_SOURCE")"/windows-install-static.sh
source "$(dirname "$BASH_SOURCE")"/defaults-lgpl.sh
File renamed without changes.

0 comments on commit 0e9c6f8

Please sign in to comment.