forked from volitank/nala
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
46 lines (34 loc) · 1.01 KB
/
Makefile
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
38
39
40
41
42
43
44
45
46
enter:
echo "The Nala MakeFile"
install:
sudo apt install python3-debian
sudo python3 -m pip install .
# Install man pages
sudo ./nala_build.py man --install
# Install translations
sudo python3 -m pip install babel
sudo ./nala_build.py babel --compile --install
make completions
make config
completions:
# Create Shell Completion Directories
mkdir -p /usr/share/fish/vendor_completions.d/
mkdir -p /usr/share/bash-completion/completions/
mkdir -p /usr/share/zsh/vendor-completions/
# Install shell completions
sudo cp debian/nala.fish /usr/share/fish/vendor_completions.d/
sudo cp debian/bash-completion /usr/share/bash-completion/completions/nala
sudo cp debian/_nala /usr/share/zsh/vendor-completions/
config:
# Install the Nala Configuration file.
sudo mkdir -p /etc/nala
sudo cp debian/nala.conf /etc/nala/nala.conf
clean:
rm -f docs/nala*.8
rm -rf ./.venv
uninstall:
sudo rm -f /usr/share/man/man8/nala*8.gz
sudo rm -rf /etc/nala
sudo python3 -m pip uninstall nala
binary:
./nala-pyinstall.sh