aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-01-14 18:16:17 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-01-14 18:16:17 +0100
commita4e630c7d94f64af160ffaabf290735b7374c8ec (patch)
tree4c2013312f29b65a9e1e1b8a9ca268e594d513cf
parent8c56b0cf900cf244029df148f18fda5c11e27344 (diff)
downloadtinycc-a4e630c7d94f64af160ffaabf290735b7374c8ec.tar.gz
tinycc-a4e630c7d94f64af160ffaabf290735b7374c8ec.tar.bz2
Install libtcc.h when invoking make install
This fix commit e79281f58ec302e8cc9dfc7d00e06f426fcd2acd
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3aa25e1..d155f45 100644
--- a/Makefile
+++ b/Makefile
@@ -271,6 +271,8 @@ ifdef DISABLE_STATIC
ln -sf "$(ln_libdir)/libtcc.so.1.0" "$(libdir)/libtcc.so.1"
ln -sf "$(ln_libdir)/libtcc.so.1.0" "$(libdir)/libtcc.so"
endif
+ mkdir -p "$(includedir)"
+ $(INSTALL) -m644 $(top_srcdir)/libtcc.h "$(includedir)"
mkdir -p "$(docdir)"
-$(INSTALL) -m644 tcc-doc.html "$(docdir)"
ifdef CONFIG_CROSS