Linux DTrace development list
 help / color / mirror / Atom feed
* [PATCH] Add examples directory to installed doc directory
@ 2025-09-18 18:54 Elena Zannoni
  2025-09-18 19:14 ` Nick Alcock
  0 siblings, 1 reply; 3+ messages in thread
From: Elena Zannoni @ 2025-09-18 18:54 UTC (permalink / raw)
  To: dtrace-devel, dtrace

Make sure that the examples directory gets installed. 
It will be installed under /usr/share/doc/dtrace/examples.


Signed-off-by: Elena Zannoni <elena.zannoni@oracle.com>
---
 Build | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Build b/Build
index 1a66a824..220c9784 100644
--- a/Build
+++ b/Build
@@ -7,12 +7,18 @@ install::
 	mkdir -p $(INSTDOCDIR)/userguide/explanation
 	mkdir -p $(INSTDOCDIR)/userguide/how-to
 	mkdir -p $(INSTDOCDIR)/userguide/reference
-	$(call describe-install-target,$(INSTDOCDIR),README INCOMPATIBILITIES NEWS doc/userguide)
+	mkdir -p $(INSTDOCDIR)/examples/
+	mkdir -p $(INSTDOCDIR)/examples/language_features
+	$(call describe-install-target,$(INSTDOCDIR),README INCOMPATIBILITIES NEWS userguide examples)
 	install -m 644 README INCOMPATIBILITIES NEWS $(INSTDOCDIR)
 	install -m 644 doc/userguide/index.md $(INSTDOCDIR)/userguide
 	install -m 644 doc/userguide/explanation/* $(INSTDOCDIR)/userguide/explanation
 	install -m 644 doc/userguide/how-to/* $(INSTDOCDIR)/userguide/how-to
 	install -m 644 doc/userguide/reference/* $(INSTDOCDIR)/userguide/reference
+	install -m 755 examples/*.d $(INSTDOCDIR)/examples
+	install -m 644 examples/README.md $(INSTDOCDIR)/examples
+	install -m 755 examples/language_features/* $(INSTDOCDIR)/examples/language_features
+
 
 install-test::
 	mkdir -p $(INSTTESTDIR)
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-18 19:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-18 18:54 [PATCH] Add examples directory to installed doc directory Elena Zannoni
2025-09-18 19:14 ` Nick Alcock
2025-09-18 19:21   ` Elena Zannoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox