Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147371
b: refs/heads/master
c: 125e702
h: refs/heads/master
i:
  147369: 87236b6
  147367: a4cf699
v: v3
  • Loading branch information
Ingo Molnar committed Apr 20, 2009
1 parent 87c5da3 commit 9ed397a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6142fdd968c76a0f2ee753c39bd5be8d1bb4ef04
refs/heads/master: 125e702b09a28a502e145fb434678ee27720fc48
19 changes: 2 additions & 17 deletions trunk/Documentation/perf_counter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,9 @@ EXTRA_PROGRAMS =
PROGRAMS += $(EXTRA_PROGRAMS)

#
# None right now:
# Single 'perf' binary right now:
#
# PROGRAMS += perf-fast-import$X
PROGRAMS += perf

# List built-in command $C whose implementation cmd_$C() is not in
# builtin-$C.o but is linked in as part of some other command.
Expand Down Expand Up @@ -762,24 +762,9 @@ install: all
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(bindir_SQ)'
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
$(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)'
$(INSTALL) perf$X perf-upload-pack$X perf-receive-pack$X perf-upload-archive$X perf-shell$X perf-cvsserver '$(DESTDIR_SQ)$(bindir_SQ)'
$(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install
$(MAKE) -C perl prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install
ifneq (,$X)
$(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) perf$X)), $(RM) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/$p';)
endif
bindir=$$(cd '$(DESTDIR_SQ)$(bindir_SQ)' && pwd) && \
execdir=$$(cd '$(DESTDIR_SQ)$(perfexec_instdir_SQ)' && pwd) && \
{ $(RM) "$$execdir/perf-add$X" && \
ln "$$bindir/perf$X" "$$execdir/perf-add$X" 2>/dev/null || \
cp "$$bindir/perf$X" "$$execdir/perf-add$X"; } && \
{ for p in $(filter-out perf-add$X,$(BUILT_INS)); do \
$(RM) "$$execdir/$$p" && \
ln "$$execdir/perf-add$X" "$$execdir/$$p" 2>/dev/null || \
ln -s "perf-add$X" "$$execdir/$$p" 2>/dev/null || \
cp "$$execdir/perf-add$X" "$$execdir/$$p" || exit; \
done } && \
./check_bindir "z$$bindir" "z$$execdir" "$$bindir/perf-add$X"

### Maintainer's dist rules

Expand Down

0 comments on commit 9ed397a

Please sign in to comment.