mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Sync all install targets implementations. Some did quote the target directories some don't. Remove all quotations. This fixes wrong install locations of install paths that have a '~'. With quotes '~' is interpreted literally instead of using the home dir. Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
26 lines
608 B
Makefile
26 lines
608 B
Makefile
# Common definitions
|
|
include ../common.mak
|
|
|
|
.DEFAULT_GOAL := all
|
|
|
|
PKGDATADIR := $(TOOLS_DATADIR)/genprotimg
|
|
TESTS :=
|
|
SUBDIRS := boot src man
|
|
RECURSIVE_TARGETS := all-recursive install-recursive clean-recursive
|
|
|
|
all: all-recursive
|
|
|
|
install: install-recursive
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(PKGDATADIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 samples/check_hostkeydoc $(DESTDIR)$(PKGDATADIR)
|
|
|
|
clean: clean-recursive
|
|
|
|
$(RECURSIVE_TARGETS):
|
|
@target=`echo $@ |sed s/-recursive//`; \
|
|
for d in $(SUBDIRS); do \
|
|
$(MAKE) -C $$d $$target || exit 1; \
|
|
done
|
|
|
|
.PHONY: all install clean $(RECURSIVE_TARGETS)
|