mirror of
https://github.com/Tha14/toxic.git
synced 2024-10-05 03:35:35 +02:00
a009f11c0c
List is now automatically fetched from nodes.tox.chat and placed in the user config directory. The list is updated once every 30 days, and will attempt to detect problems and re-fetch the list if necessary. Also fixed a couple file descriptor leaks and cleaned some things up.
34 lines
920 B
Makefile
34 lines
920 B
Makefile
# Version
|
|
TOXIC_VERSION = 0.7.0
|
|
REV = $(shell git rev-list HEAD --count 2>/dev/null || echo -n "error")
|
|
ifneq (, $(findstring error, $(REV)))
|
|
VERSION = $(TOXIC_VERSION)
|
|
else
|
|
VERSION = $(TOXIC_VERSION)_r$(REV)
|
|
endif
|
|
|
|
# Project directories
|
|
BUILD_DIR = $(BASE_DIR)/build
|
|
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 = nameservers toxic.conf.example
|
|
DESKFILE = toxic.desktop
|
|
SNDFILES = ToxicContactOnline.wav ToxicContactOffline.wav ToxicError.wav
|
|
SNDFILES += ToxicRecvMessage.wav ToxicOutgoingCall.wav ToxicIncomingCall.wav
|
|
SNDFILES += ToxicTransferComplete.wav ToxicTransferStart.wav
|
|
|
|
# Install directories
|
|
PREFIX = /usr/local
|
|
BINDIR = $(PREFIX)/bin
|
|
DATADIR = $(PREFIX)/share/toxic
|
|
MANDIR = $(PREFIX)/share/man
|
|
APPDIR = $(PREFIX)/share/applications
|
|
|
|
# Platform tools
|
|
PKG_CONFIG = pkg-config
|