disable rules that try to rebuild files in the source tree (only affects

MKMAINTAINER=yes builds.)
This commit is contained in:
mrg 2003-03-01 13:14:17 +00:00
parent 2a59955cee
commit 1c50b08c03
4 changed files with 40 additions and 40 deletions

View File

@ -29,7 +29,7 @@ SUBDIRS = doc lib intl src po m4 misc tests
DISTCLEANFILES = intl/libintl.h
ABOUT-NLS: $(srcdir)/doc/nls.texi $(srcdir)/doc/matrix.texi
rm -f $(srcdir)/ABOUT-NLS \
&& $(MAKEINFO) --output=$(srcdir)/ABOUT-NLS --no-header \
-I $(srcdir)/doc --no-validate nls.texi
#ABOUT-NLS: $(srcdir)/doc/nls.texi $(srcdir)/doc/matrix.texi
# rm -f $(srcdir)/ABOUT-NLS \
# && $(MAKEINFO) --output=$(srcdir)/ABOUT-NLS --no-header \
# -I $(srcdir)/doc --no-validate nls.texi

View File

@ -381,10 +381,10 @@ mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
ABOUT-NLS: $(srcdir)/doc/nls.texi $(srcdir)/doc/matrix.texi
rm -f $(srcdir)/ABOUT-NLS \
&& $(MAKEINFO) --output=$(srcdir)/ABOUT-NLS --no-header \
-I $(srcdir)/doc --no-validate nls.texi
#ABOUT-NLS: $(srcdir)/doc/nls.texi $(srcdir)/doc/matrix.texi
# rm -f $(srcdir)/ABOUT-NLS \
# && $(MAKEINFO) --output=$(srcdir)/ABOUT-NLS --no-header \
# -I $(srcdir)/doc --no-validate nls.texi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@ -56,20 +56,20 @@ open-po.c po.c str-list.c dir-list.c
MAINTAINERCLEANFILES = po-gram.gen.c po-gram.gen.h po-hash.gen.c po-hash.gen.h
# Some rules for yacc handling.
po-gram.gen.c po-gram.gen.h: po-gram.y
$(YACC) $(YFLAGS) $(srcdir)/po-gram.y
if test -s y.tab.c && test -s y.tab.h; then \
rm -f $(srcdir)/po-gram.gen.c $(srcdir)/po-gram.gen.h; \
$(SED) 's/[yY][yY]/po_gram_/g' < y.tab.c > $(srcdir)/po-gram.gen.c; \
$(SED) 's/[yY][yY]/po_gram_/g' < y.tab.h > $(srcdir)/po-gram.gen.h; \
fi
rm -f y.tab.c y.tab.h
#po-gram.gen.c po-gram.gen.h: po-gram.y
# $(YACC) $(YFLAGS) $(srcdir)/po-gram.y
# if test -s y.tab.c && test -s y.tab.h; then \
# rm -f $(srcdir)/po-gram.gen.c $(srcdir)/po-gram.gen.h; \
# $(SED) 's/[yY][yY]/po_gram_/g' < y.tab.c > $(srcdir)/po-gram.gen.c; \
# $(SED) 's/[yY][yY]/po_gram_/g' < y.tab.h > $(srcdir)/po-gram.gen.h; \
# fi
# rm -f y.tab.c y.tab.h
po-hash.gen.c po-hash.gen.h: po-hash.y
$(YACC) $(YFLAGS) $(srcdir)/po-hash.y
if test -s y.tab.c && test -s y.tab.h; then \
rm -f $(srcdir)/po-hash.gen.c $(srcdir)/po-hash.gen.h; \
$(SED) 's/[yY][yY]/po_hash_/g' < y.tab.c > $(srcdir)/po-hash.gen.c; \
$(SED) 's/[yY][yY]/po_hash_/g' < y.tab.h > $(srcdir)/po-hash.gen.h; \
fi
rm -f y.tab.c y.tab.h
#po-hash.gen.c po-hash.gen.h: po-hash.y
# $(YACC) $(YFLAGS) $(srcdir)/po-hash.y
# if test -s y.tab.c && test -s y.tab.h; then \
# rm -f $(srcdir)/po-hash.gen.c $(srcdir)/po-hash.gen.h; \
# $(SED) 's/[yY][yY]/po_hash_/g' < y.tab.c > $(srcdir)/po-hash.gen.c; \
# $(SED) 's/[yY][yY]/po_hash_/g' < y.tab.h > $(srcdir)/po-hash.gen.h; \
# fi
# rm -f y.tab.c y.tab.h

View File

@ -431,23 +431,23 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
# Some rules for yacc handling.
po-gram.gen.c po-gram.gen.h: po-gram.y
$(YACC) $(YFLAGS) $(srcdir)/po-gram.y
if test -s y.tab.c && test -s y.tab.h; then \
rm -f $(srcdir)/po-gram.gen.c $(srcdir)/po-gram.gen.h; \
$(SED) 's/[yY][yY]/po_gram_/g' < y.tab.c > $(srcdir)/po-gram.gen.c; \
$(SED) 's/[yY][yY]/po_gram_/g' < y.tab.h > $(srcdir)/po-gram.gen.h; \
fi
rm -f y.tab.c y.tab.h
#po-gram.gen.c po-gram.gen.h: po-gram.y
# $(YACC) $(YFLAGS) $(srcdir)/po-gram.y
# if test -s y.tab.c && test -s y.tab.h; then \
# rm -f $(srcdir)/po-gram.gen.c $(srcdir)/po-gram.gen.h; \
# $(SED) 's/[yY][yY]/po_gram_/g' < y.tab.c > $(srcdir)/po-gram.gen.c; \
# $(SED) 's/[yY][yY]/po_gram_/g' < y.tab.h > $(srcdir)/po-gram.gen.h; \
# fi
# rm -f y.tab.c y.tab.h
po-hash.gen.c po-hash.gen.h: po-hash.y
$(YACC) $(YFLAGS) $(srcdir)/po-hash.y
if test -s y.tab.c && test -s y.tab.h; then \
rm -f $(srcdir)/po-hash.gen.c $(srcdir)/po-hash.gen.h; \
$(SED) 's/[yY][yY]/po_hash_/g' < y.tab.c > $(srcdir)/po-hash.gen.c; \
$(SED) 's/[yY][yY]/po_hash_/g' < y.tab.h > $(srcdir)/po-hash.gen.h; \
fi
rm -f y.tab.c y.tab.h
#po-hash.gen.c po-hash.gen.h: po-hash.y
# $(YACC) $(YFLAGS) $(srcdir)/po-hash.y
# if test -s y.tab.c && test -s y.tab.h; then \
# rm -f $(srcdir)/po-hash.gen.c $(srcdir)/po-hash.gen.h; \
# $(SED) 's/[yY][yY]/po_hash_/g' < y.tab.c > $(srcdir)/po-hash.gen.c; \
# $(SED) 's/[yY][yY]/po_hash_/g' < y.tab.h > $(srcdir)/po-hash.gen.h; \
# fi
# rm -f y.tab.c y.tab.h
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.