瀏覽代碼

Add example meta help file

Alois Mahdal 7 年之前
父節點
當前提交
3e62b5392b
共有 4 個檔案被更改,包括 7 行新增0 行删除
  1. 1
    0
      mkit.ini
  2. 1
    0
      packaging/debian/install
  3. 1
    0
      packaging/template.spec
  4. 4
    0
      src/help.skel

+ 1
- 0
mkit.ini 查看文件

54
     libexec = src/libexec/saturnin-demo-dump
54
     libexec = src/libexec/saturnin-demo-dump
55
     libexec = src/libexec/saturnin-demo-echo
55
     libexec = src/libexec/saturnin-demo-echo
56
     share   = src/ini.d/main/echo.ini        ini.d/main/echo.ini
56
     share   = src/ini.d/main/echo.ini        ini.d/main/echo.ini
57
+    share   = src/help
57
 
58
 
58
 #mkit version=0.0.24
59
 #mkit version=0.0.24

+ 1
- 0
packaging/debian/install 查看文件

3
 /usr/libexec/saturnin-demo/saturnin-demo-dump
3
 /usr/libexec/saturnin-demo/saturnin-demo-dump
4
 /usr/libexec/saturnin-demo/saturnin-demo-echo
4
 /usr/libexec/saturnin-demo/saturnin-demo-echo
5
 /usr/share/doc/saturnin-demo/README.md
5
 /usr/share/doc/saturnin-demo/README.md
6
+/usr/share/saturnin-demo/help
6
 /usr/share/saturnin-demo/ini.d/main/echo.ini
7
 /usr/share/saturnin-demo/ini.d/main/echo.ini

+ 1
- 0
packaging/template.spec 查看文件

43
 %dir %{_libexecdir}/%{name}
43
 %dir %{_libexecdir}/%{name}
44
 %doc %{_docdir}/%{name}/README.md
44
 %doc %{_docdir}/%{name}/README.md
45
 %{_bindir}/%{name}
45
 %{_bindir}/%{name}
46
+%{_datadir}/%{name}/help
46
 %{_datadir}/%{name}/ini.d/main/echo.ini
47
 %{_datadir}/%{name}/ini.d/main/echo.ini
47
 %{_libexecdir}/%{name}/%{name}-dump
48
 %{_libexecdir}/%{name}/%{name}-dump
48
 %{_libexecdir}/%{name}/%{name}-echo
49
 %{_libexecdir}/%{name}/%{name}-echo

+ 4
- 0
src/help.skel 查看文件

1
+This is just Saturnin demo; it won't do anything useful.
2
+
3
+Fun fact:  This text comes from file '__SATURNIN_SHARE__/help',
4
+as dictated by value of SATURNIN_META_HELP environment variable