File: MKDIST.in

package info (click to toggle)
pound 3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 536 kB
  • sloc: ansic: 5,065; sh: 42; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 623 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# Create archive
#
REL="Pound-@VERSION@"
mkdir "$REL"
mkdir "$REL"/build "$REL"/include "$REL"/man "$REL"/src "$REL"/pound
cp CMakeLists.txt README.md MKDIST.in GPL.txt "$REL"
cp build/.keep "$REL"/build
cp include/pound.h.in include/utarray.h include/uthash.h include/hpack.h "$REL"/include
cp man/pound.8 "$REL"/man
cp src/backend.c src/config.c src/http.c src/http2.c src/pound.c src/util.c src/hpack.c "$REL"/src
cp pound/pound.png pound/UTHASH.txt "$REL"/pound
rm -f "$REL".tgz "$REL".asc
tar -cvzf "$REL".tgz "$REL"
rm -fr "$REL"
#
# Sign archive
#
gpg --output "$REL".asc --detach-sig --armor "$REL".tgz