From c9faba1908b8e77f7c7c443f26e3b3cb1450d1a0 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Wed, 2 Nov 2016 23:58:51 +0100 Subject: [PATCH] iQEcBAABCAAGBQJYGnDdAAoJELK+rRUN6Ta5fxgH+wWuZzgKeScaH40dRfzCIflg GbgiJ4yWTesUxOZGcM2RyvN5aR8JOguH8r2msD23rFmqHWiQVx+W3ai6dZGN3zJN aw/PdLNXz7o+K/sNCGBdokHVOWY6niV249s4LPiaLKJQv9yVs4WokgTdZfkPoRlL pLEbt8rgtLXO8bH4p/6aeYOiChNB2D9RxwMxrOsfzP426CoEpyDNGS+Zqx37uBP/ eiBwU+qfkFDK7HFk/uCMRrUmabDyqhjutXKW39nvlgeyiTGrY2mfIMSUQNvb6nSB KX7R4C78Znzy3uG/vvzAOQYNp0KXzUFIK99vrZILRdE/jY0pS92MUs1RWmikHcI= =XYCb -----END PGP SIGNATURE----- Makefile: add docker var Signed-off-by: Antonio Murdaca Closes: #166 Approved by: rhvgoyal --- Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 947a9e0..1fc61b2 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +DOCKER ?= docker # Installation directories. PREFIX ?= $(DESTDIR)/usr BINDIR ?= $(PREFIX)/bin @@ -13,12 +14,12 @@ clean: .PHONY: install install: - install -D -m 755 docker-storage-setup.sh ${BINDIR}/docker-storage-setup - install -D -m 644 docker-storage-setup.service ${UNITDIR}/docker-storage-setup.service - install -D -m 644 docker-storage-setup.conf ${DSSLIBDIR}/docker-storage-setup - if [ ! -f ${SYSCONFDIR}/docker-storage-setup ]; then \ - install -D -m 644 docker-storage-setup-override.conf ${SYSCONFDIR}/docker-storage-setup; \ + install -D -m 755 ${DOCKER}-storage-setup.sh ${BINDIR}/${DOCKER}-storage-setup + install -D -m 644 ${DOCKER}-storage-setup.service ${UNITDIR}/${DOCKER}-storage-setup.service + install -D -m 644 ${DOCKER}-storage-setup.conf ${DSSLIBDIR}/${DOCKER}-storage-setup + if [ ! -f ${SYSCONFDIR}/${DOCKER}-storage-setup ]; then \ + install -D -m 644 ${DOCKER}-storage-setup-override.conf ${SYSCONFDIR}/${DOCKER}-storage-setup; \ fi install -D -m 755 libdss.sh ${DSSLIBDIR}/libdss.sh install -D -m 755 dss-child-read-write.sh ${DSSLIBDIR}/dss-child-read-write - install -D -m 644 docker-storage-setup.1 ${MANDIR}/man1/docker-storage-setup.1 + install -D -m 644 ${DOCKER}-storage-setup.1 ${MANDIR}/man1/${DOCKER}-storage-setup.1