From b6cf451b0e791d459a0553f9c308e659a60fcdb5 Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Wed, 12 Aug 2015 19:04:04 +0200 Subject: [PATCH] baculum: Tweak Makefile --- gui/baculum/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) \ -- 2.39.5