diff options
| author | seyko <seyko2@gmail.com> | 2015-03-06 17:13:45 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-03-06 17:13:45 +0300 |
| commit | 8764993c0d23d11102dc548eb318e489a665391f (patch) | |
| tree | e2efaad956fa0496646c22be0ee7dc3eeafc5276 /Makefile | |
| parent | 65a4fbd1d4a35353b4a16f9f53f674cee7cf11c3 (diff) | |
| download | tinycc-8764993c0d23d11102dc548eb318e489a665391f.tar.gz tinycc-8764993c0d23d11102dc548eb318e489a665391f.tar.bz2 | |
Makefile: install tcc$(EXESUF) as symlink to the $(ARCH)-tcc
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -257,11 +257,8 @@ install-strip: install ifndef CONFIG_WIN32 install: $(PROGS) $(TCCLIBS) $(TCCDOCS) mkdir -p "$(bindir)" -ifeq ($(CC),tcc) - $(INSTALL) -m755 $(PROGS) $(PROGS_CROSS_LINK) "$(bindir)" -else $(INSTALLBIN) -m755 $(PROGS) "$(bindir)" -endif + cp -P tcc$(EXESUF) "$(bindir)" mkdir -p "$(mandir)/man1" -$(INSTALL) -m644 tcc.1 "$(mandir)/man1" mkdir -p "$(infodir)" @@ -300,6 +297,7 @@ endif uninstall: rm -fv $(foreach P,$(PROGS),"$(bindir)/$P") + rm -fv "$(bindir)/tcc$(EXESUF)" rm -fv $(foreach P,$(LIBTCC1),"$(tccdir)/$P") rm -fv $(foreach P,$(TCC_INCLUDES),"$(tccdir)/include/$P") rm -fv "$(mandir)/man1/tcc.1" "$(infodir)/tcc-doc.info" |
