summaryrefslogtreecommitdiffstats
path: root/RTEMS_Makefiles/Makefile.readline-6.2
blob: bfa46d2184211768b78591d17b9baf51d4b5e89f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include ../RTEMS_Makefiles/Makefile.common

#
# Running make distclean cleans up documentation files that require
# special tools to regenerate.  Work around this problem by just
# copying the documentation files from another directory.
#
all:
	bash_cv_have_mbstate_t=yes ./configure \
		--host=$(RTEMS_CPU)-rtems \
		--prefix=$(exec_prefix) \
		--libdir=$(exec_prefix)/$(RTEMS_BSP)/lib \
		--includedir=$(exec_prefix)/$(RTEMS_BSP)/lib/include \
		--disable-shared --enable-static
	cp ../readline-doc-4.3/doc/????* doc
	make
	cd doc ; make
	make install