forked from mhagger/git-imerge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (21 loc) · 608 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (21 loc) · 608 Bytes
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
BIN=git-imerge
PREFIX=/usr/local
RST := \
README.rst \
TODO.rst
all:
html: $(RST:.rst=.html)
%.html: %.rst
rst2html $< >$@
module := doc/presentations/GitMerge-2013
html: $(module)/talk.html
$(module)/talk.html: $(module)/talk.rst
rst2s5 --theme=small-white --current-slide $< $@
install: $(BIN)
@mkdir -p $(DESTDIR)$(PREFIX)/bin
install $(BIN) $(DESTDIR)$(PREFIX)/bin
@mkdir -p $(DESTDIR)/etc/bash_completion.d
cp -f git-imerge.bashcomplete $(DESTDIR)/etc/bash_completion.d/git-imerge
uninstall:
rm $(DESTDIR)$(PREFIX)/bin/$(BIN)
rm -f $(DESTDIR)/etc/bash_completion.d/git-imerge