* [opkg-utils PATCH v2] Makefile: separate manpages and utils install
@ 2021-02-22 13:09 Ryan Barnett
2021-02-22 19:05 ` [opkg-devel] " Alex Stewart
2021-02-23 22:18 ` Alex Stewart
0 siblings, 2 replies; 3+ messages in thread
From: Ryan Barnett @ 2021-02-22 13:09 UTC (permalink / raw)
To: opkg-devel, yocto; +Cc: Ryan Barnett, Christian Hermann
The installation of opkg-build man page introduces a host dependency
on perl for the pod2man package to generate the man page.
To allow the opkg-utils scripts to be installed separately from the
manpages, break apart the install step into two install steps:
install-utils and install-docs
CC: Christian Hermann <mail@hermannch.dev>
Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
---
v1 -> v2:
- Leave all target behavior unchanged (suggested by Christian)
---
Makefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 4049654..fe96d5a 100644
--- a/Makefile
+++ b/Makefile
@@ -27,9 +27,11 @@ mandir ?= $(PREFIX)/man
all: $(UTILS) $(MANPAGES)
-install: all
+install-utils: $(UTILS)
install -d $(DESTDIR)$(bindir)
install -m 755 $(UTILS) $(DESTDIR)$(bindir)
+
+install-docs: $(MANPAGES)
install -d $(DESTDIR)$(mandir)
for m in $(MANPAGES); \
do \
@@ -37,4 +39,6 @@ install: all
install -m 644 "$$m" $(DESTDIR)$(mandir)/man$${m##*.}; \
done
-.PHONY: install all
+install: install-utils install-docs
+
+.PHONY: install install-utils install-docs all
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [opkg-devel] [opkg-utils PATCH v2] Makefile: separate manpages and utils install
2021-02-22 13:09 [opkg-utils PATCH v2] Makefile: separate manpages and utils install Ryan Barnett
@ 2021-02-22 19:05 ` Alex Stewart
2021-02-23 22:18 ` Alex Stewart
1 sibling, 0 replies; 3+ messages in thread
From: Alex Stewart @ 2021-02-22 19:05 UTC (permalink / raw)
To: opkg-devel, Ryan Barnett, yocto; +Cc: Christian Hermann
Hey Ryan,
This looks good to me. I'll merge this patch tomorrow, if there are no
objections.
Thanks,
--
Alex Stewart
Software Engineer - NI Real-Time OS
NI (National Instruments)
alex.stewart@ni.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [opkg-devel] [opkg-utils PATCH v2] Makefile: separate manpages and utils install
2021-02-22 13:09 [opkg-utils PATCH v2] Makefile: separate manpages and utils install Ryan Barnett
2021-02-22 19:05 ` [opkg-devel] " Alex Stewart
@ 2021-02-23 22:18 ` Alex Stewart
1 sibling, 0 replies; 3+ messages in thread
From: Alex Stewart @ 2021-02-23 22:18 UTC (permalink / raw)
To: opkg-devel, Ryan Barnett, yocto; +Cc: Christian Hermann
Merged 1 commit to opkg-utils:master.
74ccbee0f798822041dba5c6564df62a0c60d86b
Thanks,
--
Alex Stewart
Software Engineer - NI Real-Time OS
NI (National Instruments)
alex.stewart@ni.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-23 22:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 13:09 [opkg-utils PATCH v2] Makefile: separate manpages and utils install Ryan Barnett
2021-02-22 19:05 ` [opkg-devel] " Alex Stewart
2021-02-23 22:18 ` Alex Stewart
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.