1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-24 01:53:25 +01:00
toxic/cfg/global_vars.mk

30 lines
850 B
Makefile
Raw Normal View History

2014-08-25 12:54:44 +02:00
# Version
2014-09-29 19:56:17 +02:00
TOXIC_VERSION = 0.5.2
2014-10-16 20:26:00 +02:00
REV = $(shell git rev-list HEAD --count 2>/dev/null || echo -n "error")
ifneq (, $(findstring error, $(REV)))
VERSION = $(TOXIC_VERSION)
2014-10-16 20:26:00 +02:00
else
VERSION = $(TOXIC_VERSION)_r$(REV)
endif
2014-08-25 12:54:44 +02:00
# Project directories
DOC_DIR = $(BASE_DIR)/doc
SRC_DIR = $(BASE_DIR)/src
SND_DIR = $(BASE_DIR)/sounds
MISC_DIR = $(BASE_DIR)/misc
# Project files
MANFILES = toxic.1 toxic.conf.5
DATAFILES = DHTnodes DNSservers toxic.conf.example
DESKFILE = toxic.desktop
2014-10-01 06:53:45 +02:00
SNDFILES = ToxicContactOnline.wav ToxicContactOffline.wav ToxicError.wav
SNDFILES += ToxicRecvMessage.wav ToxicOutgoingCall.wav ToxicIncomingCall.wav
2014-10-01 06:53:45 +02:00
SNDFILES += ToxicTransferComplete.wav ToxicTransferStart.wav
2014-08-25 12:54:44 +02:00
# Install directories
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
DATADIR = $(PREFIX)/share/toxic
MANDIR = $(PREFIX)/share/man
APPDIR = $(PREFIX)/share/applications