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
This commit is contained in:
parent
8a16de8dc8
commit
576d24caba
|
@ -427,7 +427,9 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
|||
# 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
|
||||
|
||||
|
|
|
@ -314,7 +314,9 @@ all: config.h
|
|||
.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 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|||
$(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 @@ config.h: stamp-h1
|
|||
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 @@ config.h_vms: config.h.in ../version.sh
|
|||
# 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 @@ config.h.msvc: config.h.in ../version.sh
|
|||
-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' \
|
||||
|
|
|
@ -302,7 +302,9 @@ all: config.h
|
|||
.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 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|||
$(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 @@ config.h: stamp-h1
|
|||
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 @@ distclean-libtool:
|
|||
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
|
||||
|
|
|
@ -367,7 +367,9 @@ all: config.h
|
|||
.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 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|||
$(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 @@ config.h: stamp-h1
|
|||
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 @@ uninstall-info: uninstall-info-recursive
|
|||
# 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.
|
||||
|
|
Loading…
Reference in New Issue