From e09ce520d774d78b2deb9d384f33bae3edb20459 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 30 Nov 2006 18:31:35 +0000 Subject: 2006-11-30 Barry deFreese Thomas Schwinge [bug #18015 --- ``GNU Mach: `make dist' and friends''] * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable. (EXTRA_DIST): Enhance with the patches and documentation files. (dist-hook): New target to remove the `CVS' directories. * Makefrag.am (libkernel_a_SOURCES, EXTRA_DIST): Add header and `mig' input files. (DISTCHECK_CONFIGURE_FLAGS): Enable the kernel debugger. * i386/Makefrag.am: Likewise. Also add `i386/i386/i386asm.sym', `i386/ldscript' and `i386/README-Drivers'. * i386/linux/Makefrag.am (liblinux_a_SOURCES): Add the header files from `i386/linux/'. * linux/Makefrag.am (liblinux_a_SOURCES, EXTRA_DIST) (liblinux_pcmcia_cs_modules_a_SOURCES) (liblinux_pcmcia_cs_clients_a_SOURCES) (liblinux_pcmcia_cs_wireless_a_SOURCES): Add header and other included files. (dist-hook): Depend on `dist-hook-linux'. (dist-hook-linux): New phony target to remove the `asm' symbolic links. * Makerules.am (EXTRA_DIST): Add `gensym.awk'. * doc/Makefrag.am (EXTRA_DIST): Add `$(mach_TEXINFOS)'. * configure.ac (AC_CONFIG_LINKS): Move instantiation to... * configfrag.ac: ... here and change quotation. * linux/configfrag.ac (AC_CONFIG_LINKS): Change quotation. --- Makefile.am | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index cb07e2f..9d3b311 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,6 +25,7 @@ SUBDIRS = DIST_SUBDIRS = EXTRA_DIST = +DISTCHECK_CONFIGURE_FLAGS = noinst_LIBRARIES = noinst_PROGRAMS = TESTS= @@ -155,6 +156,26 @@ exec_boot_PROGRAMS = \ gnumach # +# Building a distribution. +# + +EXTRA_DIST += \ + Makefile.correct_output_files_for_.S_files.patch \ + config.status.dep.patch + +EXTRA_DIST += \ + ChangeLog.0 ChangeLog.00 \ + DEVELOPMENT + +dist-hook: +# Try to be very safe with respect to spuriously removing various directories +# in case of an error. + find $(distdir)/ -type d -name CVS | while read d; do \ + rm -f "$$d"/{Entries,Repository,Root,Tag} && \ + rmdir "$$d"; \ + done + +# # Legacy support. # -- cgit v1.2.3