git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 67d4bd1bf0d06aeb85c82157e4b7e6db639d267c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
VERSION	= 3.81

install: all

all:	bin man

bin:
	@cp -v bin/mp3dir2html /usr/local/bin

man:	gzip-exists
	@cp -v man1/mp3dir2html.1 /usr/local/share/man/man1
	@gzip -vf /usr/local/share/man/man1/mp3dir2html.1

gzip-exists:
	@command -v gzip > /dev/null

uninstall:
	@rm -v /usr/local/share/man/man1/mp3dir2html.1.gz /usr/local/bin/mp3dir2html

.PHONY: help

help:
	@echo
	@echo "Syntax  : MAKE [target]"
	@echo
	@echo "Targets : help\t\t- Displays this help."
	@echo "          all\t\t- Installs script and compressed manpage."
	@echo "          bin\t\t- Installs only the script."
	@echo "          man\t\t- Only installs the compressed manpage."
	@echo "          uninstall\t- Deletes all files from your system."
	@echo
	@echo "Make sure you have all necessary privileges before doing something :)"
	@echo