From: Marcin Haba Date: Sat, 15 Aug 2015 23:36:23 +0000 (+0200) Subject: baculum: Change Makefile to using also for deb packages template X-Git-Tag: Release-7.4.0~232 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2563b2956d6520d4d2b37f678db4247d15b4ce3e;p=bacula%2Fbacula baculum: Change Makefile to using also for deb packages template --- diff --git a/gui/baculum/Makefile b/gui/baculum/Makefile index 69beecefd1..d6a9df1077 100644 --- a/gui/baculum/Makefile +++ b/gui/baculum/Makefile @@ -1,22 +1,24 @@ -# Makefile to prepare runtime files (mainly for rpm based distributions) +# Makefile to prepare runtime files (for rpm-based and deb-based distributions) # # usage: make DESTDIR=/some/runtime_dir NAME = baculum VERSION = 7.2.0 -SAMPLETYPE = rpm-template +SAMPLETYPE = $(SAMPLETYPE:-rpm-template) +HTTPDNAME = $(HTTPDNAME:-httpd) +HTTPDSITECONF = $(HTTPDSITECONF:-conf.d) SYSUSRDIR = /usr SYSCONFDIR = /etc SYSVARDIR = /var CONFDIR = $(SYSCONFDIR)/$(NAME) -HTTPDCONFDIR = $(SYSCONFDIR)/httpd/conf.d +HTTPDCONFDIR = $(SYSCONFDIR)/$(HTTPDNAME)/$(HTTPDSITECONF) UNITDIR = $(SYSUSRDIR)/lib/systemd/system LOCALEDIR = $(SYSUSRDIR)/share/locale WWWDIR = $(SYSUSRDIR)/share/$(NAME)/htdocs SELINUXDIR = $(SYSUSRDIR)/share/selinux/packages/$(NAME) CACHEDIR = $(SYSVARDIR)/cache/$(NAME) LOGDIR = $(SYSVARDIR)/log -HTTPDLOGS = $(LOGDIR)/httpd +HTTPDLOGS = $(LOGDIR)/$(HTTPDNAME) LIGHTTPDLOGS = $(LOGDIR)/lighttpd # Internal application directories