add LICENSE requirements.txt and build-deb

This commit is contained in:
2023-06-21 01:18:02 +02:00
parent 1318214a8b
commit 2abb42eb94
6 changed files with 712 additions and 0 deletions

17
build-deb/Makefile Normal file
View File

@@ -0,0 +1,17 @@
all: man deb
man: man/luser.1.md
pandoc man/luser.1.md -f markdown+hard_line_breaks -s -t man -o man/luser.1
cp man/luser.1 luser/usr/share/man/man1/
gzip -f luser/usr/share/man/man1/luser.1
deb: man ../requirments.txt ../run.py ../luser ../LICENSE
cp -r ../luser/* luser/var/luser/luser/
cp ../run.py luser/var/luser/
cp ../LICENSE luser/var/luser/
dpkg-deb --build luser
clean:
rm -f luser.deb
rm -f man/luser.1
rm -rf luser/var
mkdir -p luser/var/luser/luser
mkdir -p luser/usr/share/man/man1/