summaryrefslogtreecommitdiff
path: root/doc/examples/running-commands/elements/hello.bst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/running-commands/elements/hello.bst')
-rw-r--r--doc/examples/running-commands/elements/hello.bst22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/examples/running-commands/elements/hello.bst b/doc/examples/running-commands/elements/hello.bst
new file mode 100644
index 000000000..f7f21e01e
--- /dev/null
+++ b/doc/examples/running-commands/elements/hello.bst
@@ -0,0 +1,22 @@
+kind: manual
+description: |
+
+ Building manually
+
+# Depend on the base system
+depends:
+- base.bst
+
+# Stage the files/src directory for building
+sources:
+ - kind: local
+ path: files/src
+
+# Now configure the commands to run
+config:
+
+ build-commands:
+ - make PREFIX="%{prefix}"
+
+ install-commands:
+ - make -j1 PREFIX="%{prefix}" DESTDIR="%{install-root}" install