Makefile: Fix configuration installation rules.
This commit is contained in:
parent
5ed5276c8e
commit
f06076635e
1 changed files with 11 additions and 5 deletions
16
Makefile
16
Makefile
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
NAME=qasim
|
NAME=qasim
|
||||||
CONFDIR=$(DESTDIR)/etc/$(NAME)
|
CONFDIR=$(DESTDIR)/etc
|
||||||
BINDIR=$(DESTDIR)/usr/bin
|
BINDIR=$(DESTDIR)/usr/bin
|
||||||
MANDIR=$(DESTDIR)/usr/share/man
|
MANDIR=$(DESTDIR)/usr/share/man
|
||||||
DOCDIR=$(DESTDIR)/usr/share/doc/$(NAME)
|
DOCDIR=$(DESTDIR)/usr/share/doc/$(NAME)
|
||||||
|
@ -44,10 +44,16 @@ install:
|
||||||
## Install completion file
|
## Install completion file
|
||||||
# install -D -o root -g root -m 644 $(CURDIR)/$(NAME).completion $(DESTDIR)/etc/bash_completion.d/$(NAME)
|
# install -D -o root -g root -m 644 $(CURDIR)/$(NAME).completion $(DESTDIR)/etc/bash_completion.d/$(NAME)
|
||||||
#
|
#
|
||||||
mkdir -p $(CONFDIR)
|
#
|
||||||
for f in `ls conf`; do \
|
# Install configuration files
|
||||||
cp conf/$$f $(CONFDIR)/$$f ; \
|
mkdir -p $(CONFDIR)/xdg/autostart
|
||||||
done
|
install -D -o root -g root -m 644 $(CURDIR)/conf/autostart/$(NAME).desktop \
|
||||||
|
$(CONFDIR)/xdg/autostart/$(NAME).desktop
|
||||||
|
mkdir -p $(CONFDIR)/$(NAME)
|
||||||
|
install -D -o root -g root -m 644 $(CURDIR)/conf/config \
|
||||||
|
$(CONFDIR)/$(NAME)/config
|
||||||
|
install -D -o root -g root -m 644 $(CURDIR)/conf/default.map \
|
||||||
|
$(CONFDIR)/$(NAME)/default.map
|
||||||
#
|
#
|
||||||
mkdir -p $(DOCDIR)/examples
|
mkdir -p $(DOCDIR)/examples
|
||||||
for f in `ls examples`; do \
|
for f in `ls examples`; do \
|
||||||
|
|
Loading…
Reference in a new issue