taskmanager/build-deb/Makefile

18 lines
655 B
Makefile
Raw Normal View History

2023-10-20 13:20:56 +00:00
all: man deb
2024-01-15 18:54:18 +00:00
man: man/taskmanager.1.md
pandoc man/taskmanager.1.md -f markdown+hard_line_breaks -s -t man -o man/taskmanager.1
cp man/taskmanager.1 taskmanager/usr/share/man/man1/
gzip -f taskmanager/usr/share/man/man1/taskmanager.1
deb: man ../requirments.txt ../run.py ../taskmanager ../LICENSE
cp -r ../taskmanager/* taskmanager/var/taskmanager/taskmanager/
cp ../run.py taskmanager/var/taskmanager/
cp ../LICENSE taskmanager/var/taskmanager/
dpkg-deb --build taskmanager
2023-10-20 13:20:56 +00:00
clean:
2024-01-15 18:54:18 +00:00
rm -f taskmanager.deb
rm -f man/taskmanager.1
rm -rf taskmanager/var
mkdir -p taskmanager/var/taskmanager/taskmanager
mkdir -p taskmanager/usr/share/man/man1/