1 # The default target of this Makefile is...
5 bindir ?
= $(prefix)/bin
10 DESTDIR_SQ
= $(subst ','\'',$(DESTDIR))
11 bindir_SQ = $(subst ','\'',$(bindir))
12 TCLTK_PATH_SQ
= $(subst ','\'',$(TCLTK_PATH))
16 QUIET_GEN = $(QUIET)echo ' ' GEN $@ &&
21 $(INSTALL) gitk-wish '$(DESTDIR_SQ
)$(bindir_SQ
)'/gitk
26 $(QUIET_GEN)$(RM) $@ $@+ && \
27 sed -e '1,3s|^exec .
* "$$0"|exec
$(subst |
,'\|',$(TCLTK_PATH_SQ
)) "$$0"|
' <gitk >$@+ && \