remove old references to .debian/

This commit is contained in:
Jeff Carr 2022-10-08 03:12:59 -05:00
parent 3c75279ca5
commit eeb48a1b85
1 changed files with 1 additions and 4 deletions

View File

@ -14,7 +14,6 @@ all: download clean extract DEBIAN build
raw: download clean extract DEBIAN tar-ar
clean:
rm -rf .debian/files/opt/
rm -rf files/opt files/DEBIAN/control
rm -f *.deb
rm -f control.tar.xz data.tar.xz
@ -24,14 +23,12 @@ download:
wget -c https://releases.mattermost.com/${VERSION}/mattermost-${VERSION}-linux-amd64.tar.gz
extract:
mkdir -p .debian/files/opt/
cd .debian/files/opt/ && tar xfz ../../../mattermost-${VERSION}-linux-amd64.tar.gz
mkdir -p files/opt/
cd files/opt/ && tar xfz ../../mattermost-${VERSION}-linux-amd64.tar.gz
# update the bash-completion script
bash-completion:
mattermost completion bash > .debian/files/etc/bash_completion.d/mattermost
mattermost completion bash > files/etc/bash_completion.d/mattermost
# makes the DEBIAN/ directory
DEBIAN: