2018-02-05 07:39:01 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
## vim: set noet :
|
|
|
|
|
2018-02-24 03:05:41 +00:00
|
|
|
include verbatim-data.mk
|
|
|
|
|
2018-02-05 07:39:01 +00:00
|
|
|
SUBDIRS = kconfig
|
2018-02-22 07:34:58 +00:00
|
|
|
|
|
|
|
bin_SCRIPTS = ct-ng
|
|
|
|
CLEANFILES = $(bin_SCRIPTS)
|
2018-04-03 07:01:17 +00:00
|
|
|
EXTRA_DIST = ct-ng.in bootstrap docs/ct-ng.1.in
|
2018-02-22 07:34:58 +00:00
|
|
|
|
2018-03-31 20:12:54 +00:00
|
|
|
man1_MANS = docs/ct-ng.1
|
|
|
|
|
2018-03-18 04:43:24 +00:00
|
|
|
# paths.sh generated by configure
|
|
|
|
nobase_dist_pkgdata_DATA = $(verbatim_data) paths.sh
|
2018-02-24 03:05:41 +00:00
|
|
|
|
2018-04-03 07:01:17 +00:00
|
|
|
USER_MANUAL_FILES = \
|
|
|
|
docs/manual/1_Introduction.md \
|
|
|
|
docs/manual/2_Installation.md \
|
|
|
|
docs/manual/3_Configuration.md \
|
|
|
|
docs/manual/4_Building.md \
|
|
|
|
docs/manual/5_Toolchain_Usage.md \
|
|
|
|
docs/manual/6_Toolchain_Types.md \
|
|
|
|
docs/manual/7_Contributing.md \
|
|
|
|
docs/manual/8_Internals.md \
|
|
|
|
docs/manual/9_Toolchain_Construction.md \
|
|
|
|
docs/manual/A_Credits.md \
|
|
|
|
docs/manual/B_Known_issues.md \
|
|
|
|
docs/manual/C_Setup_OS.md \
|
|
|
|
docs/manual/D_Tutorials_features.md
|
|
|
|
|
|
|
|
if INSTALL_USER_MANUAL
|
|
|
|
doc_DATA = $(USER_MANUAL_FILES)
|
|
|
|
else
|
|
|
|
doc_DATA = docs/MANUAL_ONLINE
|
|
|
|
endif
|
2018-03-31 20:12:54 +00:00
|
|
|
|
2018-02-22 07:34:58 +00:00
|
|
|
do_subst = ( @SED@ \
|
|
|
|
-e 's,[@]docdir[@],$(docdir),g' \
|
2018-03-18 04:43:24 +00:00
|
|
|
-e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \
|
|
|
|
-e 's,[@]pkglibexecdir[@],$(pkglibexecdir),g' \
|
2018-03-31 20:12:54 +00:00
|
|
|
-e 's,[@]progname[@],'`echo ct-ng | sed '$(transform)'`',g' \
|
2018-02-22 07:34:58 +00:00
|
|
|
| $(SHELL) config.status --file=- )
|
|
|
|
|
2018-03-18 04:43:24 +00:00
|
|
|
ct-ng: ct-ng.in Makefile
|
|
|
|
$(AM_V_GEN)$(do_subst) < $< >$@-t && chmod a-w,a+x $@-t && mv -f $@-t $@
|
2018-03-31 20:12:54 +00:00
|
|
|
|
|
|
|
docs/ct-ng.1: docs/ct-ng.1.in
|
|
|
|
$(AM_V_GEN)$(MKDIR_P) docs && $(do_subst) < $< >$@-t && mv -f $@-t $@
|
|
|
|
|
|
|
|
dist-hook: maintainer/download-docs.sh
|
2018-04-03 07:01:17 +00:00
|
|
|
$< $(top_distdir) $(USER_MANUAL_FILES)
|