aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 4d25d6507a70932e74b88c56a2880c9ebf54fdd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.POSIX:

DESTDIR=/home/minimun/minimun

minimun: minimun.orig
	sed 's:%%DEST%%:$(DESTDIR):' minimun.orig > minimun

clean:
	rm minimun

install: $(DESTDIR) minimun
	cp -t $(DESTDIR) minimun format.tex logo.png

uninstall:
	rm $(DESTDIR)/{minimun,format.tex,logo.png}
	rmdir -p $(DESTDIR)

$(DESTDIR):
	mkdir -p $@