summaryrefslogtreecommitdiff
path: root/doc/user/src/prgm1.skb
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/src/prgm1.skb')
-rw-r--r--doc/user/src/prgm1.skb15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/user/src/prgm1.skb b/doc/user/src/prgm1.skb
new file mode 100644
index 0000000..dcdeb88
--- /dev/null
+++ b/doc/user/src/prgm1.skb
@@ -0,0 +1,15 @@
+(frame :width 100.
+ (prog :line 10 :mark "##" [
+SKRIBE=skribe
+
+all: demo.html demo.man ##main-goal
+
+demo.html: demo.skb
+ $(SKRIBE) demo.skb -o demo.html
+
+demo.man: demo.skb
+ $(SKRIBE) demo.skb -o demo.man
+]))
+
+(p [The main goal is specified line ,(ref :line "main-goal").])
+