summaryrefslogtreecommitdiff
path: root/doc/examples/strict-mode/elements/hello-static.bst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/strict-mode/elements/hello-static.bst')
-rw-r--r--doc/examples/strict-mode/elements/hello-static.bst24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/examples/strict-mode/elements/hello-static.bst b/doc/examples/strict-mode/elements/hello-static.bst
new file mode 100644
index 000000000..63806d184
--- /dev/null
+++ b/doc/examples/strict-mode/elements/hello-static.bst
@@ -0,0 +1,24 @@
+kind: manual
+description: |
+
+ The statically linked hello application
+
+# Depend on the hello library with the strict option
+#
+depends:
+- filename: libhello.bst
+ strict: true
+
+# Stage the files/hello directory for building
+sources:
+ - kind: local
+ path: files/hello
+
+# Now configure the commands to run
+config:
+
+ build-commands:
+ - make -f Makefile.static PREFIX="%{prefix}"
+
+ install-commands:
+ - make -f Makefile.static -j1 PREFIX="%{prefix}" DESTDIR="%{install-root}" install