forked from helmuthdu/conky_colors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·34 lines (27 loc) · 1.04 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
VPATH=src/
CFLAGS=-Wall -std=c99
CWD:=$(shell pwd)
all: conky-colors
conky-colors: conky-colors.c conkycover.c conkyplayer.c \
conkyrc_cairo.c conkyrc_ring.c conkyrc_board.c conkyrc_default.c conkyrc_slim.c conkyrc_sls.c \
coverposition.c finddir.c help.c options.c photoposition.c themes.c translations.c variables.c \
confinstall.c utils.c initialize.c
install: conky-colors conkyrc
mkdir -p $(DESTDIR)/usr/share
mkdir -p $(DESTDIR)/usr/bin
cp -v conky-colors $(DESTDIR)/usr/bin
cp -v -r conkycolors $(DESTDIR)/usr/share
cp -v -r fonts/conkycolors $(DESTDIR)/usr/share/fonts
ln -fs $(DESTDIR)/usr/share/conkycolors/bin/conkyTask $(DESTDIR)/usr/bin/ct
chmod +x $(DESTDIR)/usr/share/conkycolors/scripts/*
chmod +x $(DESTDIR)/usr/share/conkycolors/bin/*
chmod -R 755 $(DESTDIR)/usr/share/conkycolors/
conkyrc: conky-colors
clean:
rm -f conky-colors
uninstall:
rm -rf $(DESTDIR)/usr/share/conkycolors
rm -fr $(DESTDIR)/usr/share/fonts/conkycolors
rm $(DESTDIR)/usr/bin/conky-colors
rm $(DESTDIR)/usr/bin/ct
.PHONY: all clean install uninstall