Lines 9-23
Link Here
|
9 |
BINS = $(wildcard bin/git-*) |
9 |
BINS = $(wildcard bin/git-*) |
10 |
MANS = $(wildcard man/git-*.md) |
10 |
MANS = $(wildcard man/git-*.md) |
11 |
MAN_HTML = $(MANS:.md=.html) |
11 |
MAN_HTML = $(MANS:.md=.html) |
12 |
@@ -17,7 +18,7 @@ |
|
|
13 |
@mkdir -p $(DESTDIR)$(BINPREFIX) |
14 |
@echo "... installing bins to $(DESTDIR)$(BINPREFIX)" |
15 |
@echo "... installing man pages to $(DESTDIR)$(MANPREFIX)" |
16 |
- $(eval TEMPFILE := $(shell mktemp)) |
17 |
+ $(eval TEMPFILE := $(shell mktemp -t git-extras)) |
18 |
@# chmod from rw-------(default) to rwxrwxr-x, so that users can exec the scripts |
19 |
@chmod 775 $(TEMPFILE) |
20 |
@$(foreach COMMAND, $(COMMANDS_USED_WITH_GIT_REPO), \ |
21 |
@@ -31,8 +32,8 @@ |
12 |
@@ -31,8 +32,8 @@ |
22 |
cp -f bin/$(COMMAND) $(DESTDIR)$(BINPREFIX); \ |
13 |
cp -f bin/$(COMMAND) $(DESTDIR)$(BINPREFIX); \ |
23 |
) |
14 |
) |