added makefile filling

parent 62b07a19
prefix = /usr/local
sysconfdir = /etc
datadir = $(prefix)/share
bindir = $(prefix)/bin
all: dir install
dir:
mkdir -p $(bindir)
mkdir -p $(prefix)/lib/systemd/user
mkdir -p $(sysconfdir)/ximper-unified-theme-switcher
mkdir -p $(datadir)/pixmaps
mkdir -p $(datadir)/applications/
install: dir
cp ./bin/ximper-unified-theme-switcher-service $(bindir)
cp ./bin/ximper-unified-theme-switcher-gui $(bindir)
cp ./data/ximper-unified-theme-switcher.service $(prefix)/lib/systemd/user
cp ./data/ximper-unified-theme-switcher-gui.svg $(datadir)/pixmaps
cp ./data/ximper-unified-theme-switcher-gui.desktop $(datadir)/applications
uninstall:
rm -f $(prebindirfix)/ximper-unified-theme-switcher-service
rm -f $(bindir)/ximper-unified-theme-switcher-gui
rm -f $(prefix)/lib/systemd/user/ximper-unified-theme-switcher.service
rm -f $(datadir)/pixmaps/ximper-unified-theme-switcher-gui.svg
rm -f $(datadir)/applications/ximper-unified-theme-switcher-gui.desktop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment