History

Makefile: install tcc$(EXESUF) as symlink to the $(ARCH)-tcc

seyko committed 11 years ago

Commit 87649931 parent 65a4fbd1 file · +2 −4Browse files

Unified · Split

Makefile+2−4
@@ -257,11 +257,8 @@ install-strip: install · 256 unmodified lines
257257 ifndef CONFIG_WIN32
258258 install: $(PROGS) $(TCCLIBS) $(TCCDOCS)
259259 mkdir -p "$(bindir)"
260−ifeq ($(CC),tcc)
261− $(INSTALL) -m755 $(PROGS) $(PROGS_CROSS_LINK) "$(bindir)"
262−else
263260 $(INSTALLBIN) -m755 $(PROGS) "$(bindir)"
264−endif
261+ cp -P tcc$(EXESUF) "$(bindir)"
265262 mkdir -p "$(mandir)/man1"
266263 -$(INSTALL) -m644 tcc.1 "$(mandir)/man1"
267264 mkdir -p "$(infodir)"
@@ -300,6 +297,7 @@ endif · 32 unmodified lines
300297
301298 uninstall:
302299 rm -fv $(foreach P,$(PROGS),"$(bindir)/$P")
300+ rm -fv "$(bindir)/tcc$(EXESUF)"
303301 rm -fv $(foreach P,$(LIBTCC1),"$(tccdir)/$P")
304302 rm -fv $(foreach P,$(TCC_INCLUDES),"$(tccdir)/include/$P")
305303 rm -fv "$(mandir)/man1/tcc.1" "$(infodir)/tcc-doc.info"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t