Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist Redo previous change in a better way, as suggested ...
details: https://anonhg.NetBSD.org/src/rev/393f9cea017b
branches: trunk
changeset: 767310:393f9cea017b
user: apb <apb%NetBSD.org@localhost>
date: Fri Jul 15 07:04:52 2011 +0000
description:
Redo previous change in a better way, as suggested by mrg.
Where the original Makefile.in had this:
filename: dependencies
run autosomething to regenerate the file
we now do this:
filename: dependencies
@echo "NOT REBUILDING $@"
NetBSD_DISABLED_filename:
run autosomething to regenerate the file
diffstat:
gnu/dist/autoconf/Makefile.in | 4 +-
gnu/dist/gettext/gettext-runtime/Makefile.in | 28 ++++++++++++----
gnu/dist/gettext/gettext-runtime/libasprintf/Makefile.in | 16 ++++++--
gnu/dist/gettext/gettext-tools/Makefile.in | 16 ++++++--
4 files changed, 48 insertions(+), 16 deletions(-)
diffs (186 lines):
diff -r 3d627da8099d -r 393f9cea017b gnu/dist/autoconf/Makefile.in
--- a/gnu/dist/autoconf/Makefile.in Fri Jul 15 06:41:29 2011 +0000
+++ b/gnu/dist/autoconf/Makefile.in Fri Jul 15 07:04:52 2011 +0000
@@ -427,7 +427,9 @@
# is changed, acversion.m4 is built only after the new version number is
# propagated to the Makefile. (Libtool uses the same guarantee.)
-$(srcdir)/NetBSD_DISABLED_acversion.m4: $(srcdir)/acversion.in $(srcdir)/configure.ac
+$(srcdir)/acversion.m4: $(srcdir)/acversion.in $(srcdir)/configure.ac
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_acversion.m4:
sed 's,@VERSION\@,$(VERSION),g' $(srcdir)/acversion.in >acversion.tm4
mv acversion.tm4 $(srcdir)/acversion.m4
diff -r 3d627da8099d -r 393f9cea017b gnu/dist/gettext/gettext-runtime/Makefile.in
--- a/gnu/dist/gettext/gettext-runtime/Makefile.in Fri Jul 15 06:41:29 2011 +0000
+++ b/gnu/dist/gettext/gettext-runtime/Makefile.in Fri Jul 15 07:04:52 2011 +0000
@@ -314,7 +314,9 @@
.SUFFIXES:
am--refresh:
@:
-$(srcdir)/NetBSD_DISABLED_Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_Makefile.in:
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
@@ -341,7 +343,9 @@
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
-$(top_srcdir)/NetBSD_DISABLED_configure: $(am__configure_deps)
+$(top_srcdir)/configure: $(am__configure_deps)
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_configure:
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
@@ -355,14 +359,18 @@
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status config.h
-$(srcdir)/NetBSD_DISABLED_config.h.in: $(am__configure_deps)
+$(srcdir)/config.h.in: $(am__configure_deps)
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_config.h.in:
cd $(top_srcdir) && $(AUTOHEADER)
rm -f stamp-h1
touch $@
distclean-hdr:
-rm -f config.h stamp-h1
-intl/NetBSD_DISABLED_Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
+intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_intl_Makefile:
cd $(top_builddir) && $(SHELL) ./config.status $@
mostlyclean-libtool:
@@ -843,7 +851,9 @@
# vms_jackets.h is a header that comes with Compaq's "porting library".
# KEEP_CRTL_SETLOCALE tells it to not override the native locale support.
-intl/NetBSD_DISABLED_libgnuintl.h_vms: intl/libgnuintl.h.in
+intl/libgnuintl.h_vms: intl/libgnuintl.h.in
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_intl_libgnuintl.h_vms:
sed -e 's,@''HAVE_POSIX_PRINTF''@,1,g ' \
-e 's,@''HAVE_ASPRINTF''@,0,g' \
-e 's,@''HAVE_SNPRINTF''@,0,g' \
@@ -901,14 +911,18 @@
-e '/#undef INSTALLPREFIX$$/d' \
< $(srcdir)/config.h.in > $@
-intl/NetBSD_DISABLED_libgnuintl.h.msvc-static: intl/libgnuintl.h.in
+intl/libgnuintl.h.msvc-static: intl/libgnuintl.h.in
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_intl_libgnuintl.h.msvc-static:
sed -e 's,@''HAVE_POSIX_PRINTF''@,0,g ' \
-e 's,@''HAVE_ASPRINTF''@,0,g' \
-e 's,@''HAVE_SNPRINTF''@,0,g' \
-e 's,@''HAVE_WPRINTF''@,1,g' \
< $(srcdir)/intl/libgnuintl.h.in > $@
-intl/NetBSD_DISABLED_libgnuintl.h.msvc-shared: intl/libgnuintl.h.in windows/dllexport.h
+intl/libgnuintl.h.msvc-shared: intl/libgnuintl.h.in windows/dllexport.h
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_intl_libgnuintl.h.msvc-shared:
sed -e 's,@''HAVE_POSIX_PRINTF''@,0,g ' \
-e 's,@''HAVE_ASPRINTF''@,0,g' \
-e 's,@''HAVE_SNPRINTF''@,0,g' \
diff -r 3d627da8099d -r 393f9cea017b gnu/dist/gettext/gettext-runtime/libasprintf/Makefile.in
--- a/gnu/dist/gettext/gettext-runtime/libasprintf/Makefile.in Fri Jul 15 06:41:29 2011 +0000
+++ b/gnu/dist/gettext/gettext-runtime/libasprintf/Makefile.in Fri Jul 15 07:04:52 2011 +0000
@@ -302,7 +302,9 @@
.SUFFIXES: .pdf .c .cc .dvi .html .info .lo .o .obj .ps .texi
am--refresh:
@:
-$(srcdir)/NetBSD_DISABLED_Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_Makefile.in:
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
@@ -329,7 +331,9 @@
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
-$(top_srcdir)/NetBSD_DISABLED_configure: $(am__configure_deps)
+$(top_srcdir)/configure: $(am__configure_deps)
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_configure:
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
@@ -343,7 +347,9 @@
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status config.h
-$(srcdir)/NetBSD_DISABLED_config.h.in: $(am__configure_deps)
+$(srcdir)/config.h.in: $(am__configure_deps)
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_config.h.in:
cd $(top_srcdir) && $(AUTOHEADER)
rm -f stamp-h1
touch $@
@@ -454,7 +460,9 @@
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
exit 1; \
fi
-$(srcdir)/NetBSD_DISABLED_autosprintf.info: autosprintf.texi
+$(srcdir)/autosprintf.info: autosprintf.texi
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_autosprintf.info:
autosprintf.dvi: autosprintf.texi
autosprintf.pdf: autosprintf.texi
autosprintf.html: autosprintf.texi
diff -r 3d627da8099d -r 393f9cea017b gnu/dist/gettext/gettext-tools/Makefile.in
--- a/gnu/dist/gettext/gettext-tools/Makefile.in Fri Jul 15 06:41:29 2011 +0000
+++ b/gnu/dist/gettext/gettext-tools/Makefile.in Fri Jul 15 07:04:52 2011 +0000
@@ -367,7 +367,9 @@
.SUFFIXES:
am--refresh:
@:
-$(srcdir)/NetBSD_DISABLED_Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_Makefile.in:
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
@@ -394,7 +396,9 @@
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
-$(top_srcdir)/NetBSD_DISABLED_configure: $(am__configure_deps)
+$(top_srcdir)/configure: $(am__configure_deps)
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_configure:
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
@@ -408,7 +412,9 @@
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status config.h
-$(srcdir)/NetBSD_DISABLED_config.h.in: $(am__configure_deps)
+$(srcdir)/config.h.in: $(am__configure_deps)
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_config.h.in:
cd $(top_srcdir) && $(AUTOHEADER)
rm -f stamp-h1
touch $@
@@ -827,7 +833,9 @@
# Files copied from other directories.
all-local: $(srcdir)/ABOUT-NLS
-$(srcdir)/NetBSD_DISABLED_ABOUT-NLS: $(srcdir)/../gettext-runtime/ABOUT-NLS
+$(srcdir)/ABOUT-NLS: $(srcdir)/../gettext-runtime/ABOUT-NLS
+ @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_ABOUT-NLS:
cp $(srcdir)/../gettext-runtime/ABOUT-NLS $(srcdir)/ABOUT-NLS
# VMS support.
Home |
Main Index |
Thread Index |
Old Index