From: Marcin Haba Date: Wed, 12 Aug 2015 17:04:04 +0000 (+0200) Subject: baculum: Tweak Makefile X-Git-Tag: Release-7.2.0~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b6cf451b0e791d459a0553f9c308e659a60fcdb5;p=bacula%2Fbacula baculum: Tweak Makefile --- diff --git a/gui/baculum/Makefile b/gui/baculum/Makefile index 63eef852be..bb9efec95a 100644 --- a/gui/baculum/Makefile +++ b/gui/baculum/Makefile @@ -1,5 +1,9 @@ +# Makefile to prepare runtime files in rpm based distributions +# +# usage: make DESTDIR=/some/runtime_dir + NAME = baculum -VERSION = 7.0.6b +VERSION = 7.2.0 SAMPLETYPE = rpm-template SYSUSRDIR = /usr SYSCONFDIR = /etc @@ -49,6 +53,7 @@ excluded_files = '.*\(\.htaccess\)$$' build: prepare_build prepare_data prepare_externals prepare_themes prepare_locale setup prepare_build: + if [ -z "$(DESTDIR)" ]; then @echo "No DESTDIR given"; exit 1; fi mkdir -p $(DESTDIR)$(SYSCONFDIR) \ $(DESTDIR)$(CONFDIR) \ $(DESTDIR)$(HTTPDCONFDIR) \