diff options
| author | James Lyon <jamesly0n@hotmail.com> | 2013-04-17 17:31:18 +0100 |
|---|---|---|
| committer | James Lyon <jamesly0n@hotmail.com> | 2013-04-17 17:32:18 +0100 |
| commit | 1d673cbfd619995f2762d3e216f8f0f842effc8c (patch) | |
| tree | 0e0f277367cdb8e2f4fbb53e51e09a84f54d0cd4 | |
| parent | 1ef95ea34230db1874ebf143783e18342dc7712b (diff) | |
| download | tinycc-1d673cbfd619995f2762d3e216f8f0f842effc8c.tar.gz tinycc-1d673cbfd619995f2762d3e216f8f0f842effc8c.tar.bz2 | |
Fixed out of tree build problem on Windows.
Some files installed are not generated so need to be copied from the
source tree rather than the build tree.
I also switched texi2html for makeinfo --html since texi2html is
apparently unmaintained.
| -rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -281,12 +281,12 @@ install: $(PROGS) $(TCCLIBS) $(TCCDOCS) mkdir -p "$(tccdir)/doc" mkdir -p "$(tccdir)/libtcc" $(INSTALLBIN) -m755 $(PROGS) "$(tccdir)" - $(INSTALL) -m644 $(LIBTCC1) win32/lib/*.def "$(tccdir)/lib" - cp -r win32/include/. "$(tccdir)/include" - cp -r win32/examples/. "$(tccdir)/examples" - $(INSTALL) -m644 $(addprefix include/,$(TCC_INCLUDES)) "$(tccdir)/include" - $(INSTALL) -m644 tcc-doc.html win32/tcc-win32.txt "$(tccdir)/doc" - $(INSTALL) -m644 $(LIBTCC) libtcc.h "$(tccdir)/libtcc" + $(INSTALL) -m644 $(LIBTCC1) $(top_srcdir)/win32/lib/*.def "$(tccdir)/lib" + cp -r $(top_srcdir)/win32/include/. "$(tccdir)/include" + cp -r $(top_srcdir)/win32/examples/. "$(tccdir)/examples" + $(INSTALL) -m644 $(addprefix $(top_srcdir)/include/,$(TCC_INCLUDES)) "$(tccdir)/include" + $(INSTALL) -m644 tcc-doc.html $(top_srcdir)/win32/tcc-win32.txt "$(tccdir)/doc" + $(INSTALL) -m644 $(LIBTCC) $(top_srcdir)/libtcc.h "$(tccdir)/libtcc" ifdef CONFIG_CROSS mkdir -p "$(tccdir)/lib/32" mkdir -p "$(tccdir)/lib/64" @@ -300,7 +300,7 @@ endif # documentation and man page tcc-doc.html: tcc-doc.texi - -texi2html -monolithic -number-sections $< + makeinfo --no-split --html -o $@ $< tcc.1: tcc-doc.texi -$(top_srcdir)/texi2pod.pl $< tcc.pod |
