-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (34 loc) · 1.27 KB
/
Makefile
File metadata and controls
36 lines (34 loc) · 1.27 KB
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
#Makefile for QuickOverflow
#Update 2.1.0 - Added make to replace install.sh
#type make into terminal to install QuickOverflow
ubuntu: main.c
sudo apt install gnome-terminal
sudo apt install pip
sudo apt install pipenv
pipenv install --python python3
pipenv run pip3 install -r requirements.txt
pipenv install PyInstaller
sudo gcc main.c -o /usr/local/bin/QuickOverflow
chmod +x search.py
pipenv run pyinstaller --onefile --name search search.py
sudo mv "dist/search" "/usr/local/bin"
sudo mv "quickoflow.png" "/usr/share/icons/Humanity/apps/32"
sudo mv "quickoverflow.desktop" "/home/$$USER/.local/share/applications"
arch_linux: main.c
sudo pacman -S gcc
sudo gcc main.c -o /usr/local/bin/QuickOverflow
chmod +x search.py
sudo pacman -S python-pipenv
sudo pacman -S pyenv
pipenv install --python python3
pipenv install pyinstaller
# Removed pipenv shell to prevent build interruption
pipenv run pip3 install -r requirements.txt
pipenv run pyinstaller --onefile --name search search.py
sudo mv "dist/search" "/usr/local/bin"
#to remove the binaries, use this
uninstall:
sudo rm /usr/local/bin/search
sudo rm /usr/local/bin/QuickOverflow
sudo rm /usr/share/icons/Humanity/apps/32/quickoflow.png
sudo rm /usr/$$USER/.local/share/applications/quickoverflow.desktop