Skip to content

Commit ccfa6e2

Browse files
committed
man file in deb
1 parent 351dc11 commit ccfa6e2

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,4 @@ install(FILES data/livetikz.png DESTINATION ${ICON_INSTALL_DIR})
6969
install(FILES data/templates/template_example.pgs
7070
data/templates/template_beamer.pgs
7171
DESTINATION ${LIVETIKZ_TEMPLATES_INSTALL_DIR})
72+
install(FILES docs/livetikz.1 DESTINATION ${LIVETIKZ_DATA_INSTALL_DIR}/man/man1)

dist/livetikz_0.3_amd64.deb

924 Bytes
Binary file not shown.

makedeb.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,20 @@
22
if test `whoami` != "root"; then echo "You need to run this target using fakeroot: fakeroot -u make deb"; exit 1; fi
33
mkdir -pv livetikz/usr/bin
44
mkdir -pv livetikz/usr/share/doc/livetikz/
5+
mkdir -pv livetikz/usr/share/man/man1/
56
cp build/livetikz livetikz/usr/bin
67
strip livetikz/usr/bin/livetikz
78
mkdir -p livetikz/DEBIAN
89
sed "s/%VERSION%/$(cat VERSION)/" docs/debian-control > livetikz/DEBIAN/control
910
echo "initial version" > livetikz/usr/share/doc/livetikz/changelog
1011
echo "Copyright 2020, Michael Schwarz" > livetikz/usr/share/doc/livetikz/copyright
1112
gzip -c -9 -n livetikz/usr/share/doc/livetikz/changelog > livetikz/usr/share/doc/livetikz/changelog.gz
13+
gzip -c -9 -n docs/livetikz.1 > livetikz/usr/share/man/man1/livetikz.1.gz
1214
rm livetikz/usr/share/doc/livetikz/changelog
1315
chmod -R 0755 livetikz/usr
1416
chmod 0644 livetikz/usr/share/doc/livetikz/copyright
1517
chmod 0644 livetikz/usr/share/doc/livetikz/changelog.gz
18+
chmod 0644 livetikz/usr/share/man/man1/livetikz.1.gz
1619
chown -R root:root livetikz/
1720
dpkg-deb --build livetikz
1821
rm -rf livetikz

0 commit comments

Comments
 (0)