From: Stefan Huber Date: Mon, 21 May 2012 10:50:44 +0000 (+0200) Subject: fix installation path of sample conf X-Git-Tag: v2.0-rc2~2 X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=b18206069603ac998a32df933b60f3645ccbed13;p=sitarba.git fix installation path of sample conf --- diff --git a/Makefile b/Makefile index d565b15..8ceb4c0 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,8 @@ PREFIX=/usr # Where the script binary should go BINPATH = $(PREFIX)/bin MANPATH = $(PREFIX)/share/man -CONFFILE = $(PREFIX)/share/sitarba.conf.sample +SHAREDIR = $(PREFIX)/share/sitarba/ +CONFFILE = $(SHAREDIR)/sitarba.conf.sample ###################################################################### @@ -10,6 +11,7 @@ all: install: all install -m 0755 sitarba $(BINPATH)/sitarba + mkdir -p $(SHAREDIR) install -m 0644 sitarba.conf $(CONFFILE) install -m 0644 sitarba.1 $(MANPATH)/man1/sitarba.1