diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/Makefile b/src/Makefile index a328501..3f4f7b6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,6 +5,7 @@ # Title: Makefile for freeipa-helper source package # Purpose: To use traditional Unix make utility # History: +# 2021-06-11 0.0.3 remove systemctl which is now in systemctl-service-shim # Usage: # Reference: # bgscripts Makefile @@ -13,7 +14,7 @@ # Dependencies: APPNAME = freeipa-helper -APPVERSION = 0.0.2 +APPVERSION = 0.0.3 SRCDIR = $(CURDIR) prefix = /usr SYSCONFDIR = $(DESTDIR)/etc @@ -57,18 +58,18 @@ deplist_opts: install: @${echobin} Installing files to ${DESTDIR} ${installbin} -d ${SBINDIR} ${DOCDIR} ${BINDIR} ${BINDIR1} ${APPDIR} - ${installbin} -m 0755 -t ${SBINDIR} ${SRCDIR}/usr/sbin/* + ${installbin} -m 0755 -t ${SBINDIR} ${SRCDIR}/usr/sbin/freeipa-helper* ${installbin} -m 0644 -t ${APPDIR} ${SRCDIR}/usr/share/${APPNAME}/* - test -L ${BINDIR1}/systemctl || ${lnbin} -s ${SBINDIR}/systemctl ${BINDIR1}/systemctl - test -L ${BINDIR}/hostnamectl || ${lnbin} -s ${SBINDIR}/systemctl ${BINDIR}/hostnamectl - test -L ${BINDIR}/systemd-detect-virt || ${lnbin} -s ${SBINDIR}/systemctl ${BINDIR}/systemd-detect-virt +# test -L ${BINDIR1}/systemctl || ${lnbin} -s ${SBINDIR}/systemctl ${BINDIR1}/systemctl +# test -L ${BINDIR}/hostnamectl || ${lnbin} -s ${SBINDIR}/systemctl ${BINDIR}/hostnamectl +# test -L ${BINDIR}/systemd-detect-virt || ${lnbin} -s ${SBINDIR}/systemctl ${BINDIR}/systemd-detect-virt uninstall: @${echobin} "#" SRCDIR=${SRCDIR} ${rmbin} -f $$( ${findbin} ${SRCDIR} -mindepth 1 ! -type d -printf '%p\n' | ${sedbin} -r -e "s:^${SRCDIR}:${DESTDIR}:" ) - ${rmbin} ${BINDIR1}/systemctl || : - ${rmbin} ${BINDIR}/hostnamectl || : - ${rmbin} ${BINDIR}/systemd-detect-virt || : +# ${rmbin} ${BINDIR1}/systemctl || : +# ${rmbin} ${BINDIR}/hostnamectl || : +# ${rmbin} ${BINDIR}/systemd-detect-virt || : # remove all installed directories that are now blank. rmdir ${BINDIR} ${BINDIR1} || : |