all: man deb man: man/luser.1.md mkdir -p luser/usr/share/man/man1/ 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 mkdir -p luser/var/luser/luser cp -r ../luser/* luser/var/luser/luser/ cp ../run.py luser/var/luser/ cp ../LICENSE luser/var/luser/ chmod -w luser/DEBIAN/* chmod +w luser/DEBIAN/control dpkg-deb --build luser chmod +w luser/DEBIAN/* clean: rm -f luser.deb rm -f man/luser.1 rm -rf luser/var