]> git.armaanb.net Git - lightcards.git/blob - Makefile
b6b67278abeb19226e29a9b2fa13f0038465b418
[lightcards.git] / Makefile
1 .DEFAULT_GOAL := install
2
3 prep:
4         mkdir -p /usr/local/bin
5         mkdir -p /usr/local/man/man1
6
7 install:
8         make prep
9         mkdir -p /usr/local/share/lightcards/
10         cp lightcards.py /usr/local/bin/lightcards
11         cp man/lightcards.1 /usr/local/man/man1/
12
13 uninstall:
14         rm /usr/local/bin/lightcards
15         rm /usr/local/man/man1/lightcards.1
16
17 reinstall:
18         make uninstall
19         make install