1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-19 12:16:37 +02:00

Move makefile into root directory

Requested by @mannol.
This commit is contained in:
Ansa89
2015-03-21 18:33:51 +01:00
parent a64b8cae89
commit a11289de79
4 changed files with 20 additions and 14 deletions

View File

@ -8,6 +8,7 @@ else
endif
# Project directories
BUILD_DIR = $(BASE_DIR)/build
DOC_DIR = $(BASE_DIR)/doc
SRC_DIR = $(BASE_DIR)/src
SND_DIR = $(BASE_DIR)/sounds

View File

@ -1,8 +1,8 @@
# Install target
install: toxic
install: $(BUILD_DIR)/toxic
@echo "Installing toxic executable"
@mkdir -p $(abspath $(DESTDIR)/$(BINDIR))
@install -m 0755 toxic $(abspath $(DESTDIR)/$(BINDIR)/toxic)
@install -m 0755 $(BUILD_DIR)/toxic $(abspath $(DESTDIR)/$(BINDIR)/toxic)
@echo "Installing desktop file"
@mkdir -p $(abspath $(DESTDIR)/$(APPDIR))