-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split core and ui, experimental qt3 and qt4 frontends available.
- Loading branch information
Showing
9 changed files
with
824 additions
and
499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
# Makefile for Compiz Fusion Icon | ||
# Written by: crdlb <[email protected]> | ||
|
||
# Default installation directory (from prefix in python) | ||
TARGET=/usr | ||
prefix = /usr | ||
dirs := 22x22 24x24 32x32 48x48 scalable | ||
frontends := gtk qt3 qt4 | ||
|
||
help: | ||
$(info * type 'sudo make install' to install fusion-icon to /usr) | ||
$(info ... or use 'sudo make prefix=/path install' to specify a different prefix.) | ||
$(info ... by default, all frontends are installed (gtk, qt3, and qt4). To install with only gtk (for example), use 'sudo make frontends=gtk install' ) | ||
|
||
# Make options | ||
build: | ||
./setup.py build | ||
install: | ||
./setup.py install | ||
clean: | ||
./setup.py clean | ||
mkdir -p $(prefix)/share/fusion-icon/ | ||
install -t $(prefix)/share/fusion-icon/ src/libfusionicon.py | ||
for frontend in $(frontends); do install -t $(prefix)/share/fusion-icon/ src/fusion-icon-$$frontend.py; done | ||
mkdir -p $(prefix)/bin/ | ||
install -t $(prefix)/bin/ src/fusion-icon | ||
for dir in $(dirs); do mkdir -p $(prefix)/share/icons/hicolor/$$dir/apps/ && install -t $(prefix)/share/icons/hicolor/$$dir/apps/ images/$$dir/fusion-icon.*; done | ||
|
||
uninstall: | ||
rm $(TARGET)/bin/fusion-icon | ||
rm $(TARGET)/share/icons/hicolor/22x22/apps/fusion-icon.png | ||
rm $(TARGET)/share/icons/hicolor/48x48/apps/fusion-icon.png | ||
rm $(TARGET)/share/icons/hicolor/scalable/apps/fusion-icon.svg | ||
-rm -r $(prefix)/share/fusion-icon/ | ||
-rm $(prefix)/bin/fusion-icon | ||
-for dir in $(dirs); do rm $(prefix)/share/icons/hicolor/$$dir/apps/fusion-icon.*; done | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.