diff options
author | Alexey Neyman <stilor@att.net> | 2018-02-23 19:05:41 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-04-07 12:03:17 -0700 |
commit | 9dc94f36627ec79721e485bb4ae50af9fb67c9fc (patch) | |
tree | 42fc3520fbb9d6c30c61f3c3f0ff5ae2ac961cad | |
parent | 69df9ae9ddb806b42d962ae8a0b2b8f7b31f480e (diff) | |
download | crosstool-ng-9dc94f36627ec79721e485bb4ae50af9fb67c9fc.tar.gz crosstool-ng-9dc94f36627ec79721e485bb4ae50af9fb67c9fc.tar.bz2 crosstool-ng-9dc94f36627ec79721e485bb4ae50af9fb67c9fc.zip |
Install "pure data" directories
... and update .gitignore. Survives 'make distcheck'.
Signed-off-by: Alexey Neyman <stilor@att.net>
-rw-r--r-- | .gitignore | 10 | ||||
-rw-r--r-- | Makefile.am | 4 | ||||
-rwxr-xr-x | bootstrap | 9 | ||||
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | kconfig/Makefile.am | 9 | ||||
l--------- | scripts/ylwrap | 1 |
6 files changed, 29 insertions, 10 deletions
@@ -7,15 +7,15 @@ config.log config.status Makefile Makefile.in -*ct-ng* +ct-ng !ct-ng.comp !ct-ng.in paths.* -!paths.in config/configure.in config/gen/ config/versions/ .config +verbatim-data.mk maintainer/package-versions # Temporaries @@ -26,9 +26,7 @@ temp.* # This is the place where toolchains are built .build/ -# .. and the legacy location -targets/ # .. and log for 'build-all' -.build-all +.build-all/ # .. and release creation -release +release/ diff --git a/Makefile.am b/Makefile.am index 37996f85..c58c45fd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1,16 @@ ## Process this file with automake to produce Makefile.in ## vim: set noet : +include verbatim-data.mk + SUBDIRS = kconfig bin_SCRIPTS = ct-ng CLEANFILES = $(bin_SCRIPTS) EXTRA_DIST = ct-ng.in bootstrap +nobase_dist_pkgdata_DATA = $(verbatim_data) + do_subst = ( @SED@ \ -e 's,[@]bindir[@],$(bindir),g' \ -e 's,[@]libdir[@],$(libdir),g' \ @@ -738,6 +738,15 @@ gen_selection menu debug "Debug facilities" gen_selection menu comp_tools "Companion tools" gen_selection menu comp_libs "Companion libraries" +msg "*** Gathering the list of data files to install" +{ + echo -n "verbatim_data =" + find config contrib packages samples scripts -type f | LANG=C sort | while read f; do + echo " \\" + echo -n " ${f}" + done +} > verbatim-data.mk + msg "*** Running autoreconf" autoreconf -Wall --force diff --git a/configure.ac b/configure.ac index bd7ccb48..20d5b42f 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,11 @@ AC_CONFIG_AUX_DIR([scripts]) AC_CONFIG_MACRO_DIR([m4]) # TBD try to use gnu strictness? Just add the missing files? -AM_INIT_AUTOMAKE([-Wall -Werror foreign no-dist-gzip dist-xz dist-bzip2 subdir-objects]) +# Set automake defaults: +# - Tarballs are compressed with xz and bzip2 +# - Object files are generated in a subdirectory (new default in automake) +# - Request new tar format (old, tar-v7, breaks on long paths we have) +AM_INIT_AUTOMAKE([-Wall -Werror foreign no-dist-gzip dist-xz dist-bzip2 subdir-objects tar-pax]) #-------------------------------------------------------------------- # Allow dummy --{en,dis}able-{static,shared} diff --git a/kconfig/Makefile.am b/kconfig/Makefile.am index 413d9446..a54c170d 100644 --- a/kconfig/Makefile.am +++ b/kconfig/Makefile.am @@ -1,16 +1,21 @@ ## vim: set noet : ## TBD turn off program renaming for these? Or account for it in ct-ng script? +## TBD when kconfig is split into a subpackage, need to remove this option from sub-configure transform = s,x,x, ## TBD install into lib/crosstool-ng/kconfig? or move to libexec which seems more suitable pkglibexec_PROGRAMS = conf nconf mconf -AM_LFLAGS = -L -Pzconf -AM_YFLAGS = -l -b zconf -p zconf +EXTRA_DIST = zconf.y zconf.l \ + expr.h list.h lkc.h lkc_proto.h nconf.h lxdialog/dialog.h \ + confdata.c expr.c kconf_id.c menu.c symbol.c util.c +CLEANFILES = zconf.lex.c zconf.c BUILT_SOURCES = zconf.c zconf.lex.c +AM_LFLAGS = -L -Pzconf +AM_YFLAGS = -l -b zconf -p zconf AM_CPPFLAGS = -include config.h -DCONFIG_=\"CT_\" conf_SOURCES = conf.c zconf.c diff --git a/scripts/ylwrap b/scripts/ylwrap deleted file mode 120000 index efe1e02d..00000000 --- a/scripts/ylwrap +++ /dev/null @@ -1 +0,0 @@ -/usr/share/automake-1.15/ylwrap
\ No newline at end of file |