summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ebbb2af..c97b799 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ LANGUAGES = en
PREFIX = /usr
BINDIR = $(PREFIX)/bin
LIBDIR = $(PREFIX)/lib
+SYSCONFDIR = $(PREFIX)/etc
INCLUDEDIR = $(PREFIX)/include
SRCDIR = $(PREFIX)/src/$(NAME)
SHAREDIR = $(PREFIX)/share
@@ -29,6 +30,7 @@ include deps.mk
sources = \
$(sources.sh) \
+ $(sources.txt) \
derived-assets = \
@@ -67,9 +69,11 @@ clean:
install: all
mkdir -p \
'$(DESTDIR)$(BINDIR)' \
+ '$(DESTDIR)$(SYSCONFDIR)' \
'$(DESTDIR)$(SRCDIR)' \
cp $(sources.sh) '$(DESTDIR)$(BINDIR)'
+ cp $(sources.txt) '$(DESTDIR)$(SYSCONFDIR)'
cp $(sources) '$(DESTDIR)$(SRCDIR)'
@@ -83,6 +87,9 @@ uninstall:
for f in $(sources.sh); do \
rm -f '$(DESTDIR)$(BINDIR)'/"$${f#src/}"; \
done
+ for f in $(sources.txt); do \
+ rm -f '$(DESTDIR)$(SYSCONFDIR)'/"$${f#src/}"; \
+ done
ALWAYS: