Explorar el Código

Add example meta help file

Alois Mahdal hace 7 años
padre
commit
3e62b5392b
Se han modificado 4 ficheros con 7 adiciones y 0 borrados
  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 Ver fichero

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

+ 1
- 0
packaging/debian/install Ver fichero

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

+ 1
- 0
packaging/template.spec Ver fichero

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

+ 4
- 0
src/help.skel Ver fichero

@@ -0,0 +1,4 @@
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