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
257ifndef CONFIG_WIN32257ifndef CONFIG_WIN32
258install: $(PROGS) $(TCCLIBS) $(TCCDOCS)258install: $(PROGS) $(TCCLIBS) $(TCCDOCS)
259 mkdir -p "$(bindir)"259 mkdir -p "$(bindir)"
260ifeq ($(CC),tcc)
261 $(INSTALL) -m755 $(PROGS) $(PROGS_CROSS_LINK) "$(bindir)"
262else
263 $(INSTALLBIN) -m755 $(PROGS) "$(bindir)"260 $(INSTALLBIN) -m755 $(PROGS) "$(bindir)"
264endif261 cp -P tcc$(EXESUF) "$(bindir)"
265 mkdir -p "$(mandir)/man1"262 mkdir -p "$(mandir)/man1"
266 -$(INSTALL) -m644 tcc.1 "$(mandir)/man1"263 -$(INSTALL) -m644 tcc.1 "$(mandir)/man1"
267 mkdir -p "$(infodir)"264 mkdir -p "$(infodir)"
@@ -300,6 +297,7 @@ endif · 32 unmodified lines
300 297
301uninstall:298uninstall:
302 rm -fv $(foreach P,$(PROGS),"$(bindir)/$P")299 rm -fv $(foreach P,$(PROGS),"$(bindir)/$P")
300 rm -fv "$(bindir)/tcc$(EXESUF)"
303 rm -fv $(foreach P,$(LIBTCC1),"$(tccdir)/$P")301 rm -fv $(foreach P,$(LIBTCC1),"$(tccdir)/$P")
304 rm -fv $(foreach P,$(TCC_INCLUDES),"$(tccdir)/include/$P")302 rm -fv $(foreach P,$(TCC_INCLUDES),"$(tccdir)/include/$P")
305 rm -fv "$(mandir)/man1/tcc.1" "$(infodir)/tcc-doc.info"303 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