Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chris Koehnke
reform-handbook
Commits
d1bbcc50
Commit
d1bbcc50
authored
Jun 09, 2021
by
minute
Browse files
debian: include control files and shell script
parent
828dd7c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
debian/DEBIAN/control
0 → 100644
View file @
d1bbcc50
Package: reform-handbook
Version: 1.0-2
Section: base
Priority: optional
Architecture: all
Depends: bash, xdg-utils, elinks
Maintainer: Lukas F. Hartmann <lukas@mntre.com>
Description: MNT Reform Operator Handbook
The HTML version of the handbook for the MNT Reform OSHW laptop, plus a helper script /usr/bin/reform-handbook which opens the web pages using xdg-open or elinks. Includes a copy of the Inter font by rsms.
debian/mkdeb.sh
View file @
d1bbcc50
#!/bin/bash
version
=
"1.0-
1
"
version
=
"1.0-
3
"
target
=
"./reform-handbook_
${
version
}
/usr/share/doc/reform-handbook"
mkdir
-p
"
${
target
}
/usr/bin"
cp
reform-handbook
"
${
target
}
/usr/bin/"
mkdir
-p
"
${
target
}
/html"
rm
-r
"
${
target
}
/html"
cp
-Rv
./DEBIAN
"./reform-handbook_
${
version
}
/"
cp
-Rv
../src/build/html
"
${
target
}
/"
rm
"
${
target
}
/html/_static/schem/"
*
.sla
...
...
debian/reform-handbook
0 → 100755
View file @
d1bbcc50
#!/bin/bash
if
[
-z
${
DISPLAY
+x
}
]
then
# not running under X/wayland
elinks /usr/share/doc/reform-handbook/html/index.html
else
xdg-open /usr/share/doc/reform-handbook/html/index.html
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment