diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -1,9 +1,19 @@ .POSIX: -DESTDIR=/usr/lib/minimun +DESTDIR=/home/minimun/minimun -install: $(DESTDIR) +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 -pv $@ + mkdir -p $@ |