Browse Source

Add example meta help file

Alois Mahdal 7 years ago
parent
commit
3e62b5392b
4 changed files with 7 additions and 0 deletions
  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 View File

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 View File

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 View File

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 View File

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