aboutsummaryrefslogtreecommitdiff
path: root/gcc/ch/Make-lang.in
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ch/Make-lang.in')
-rw-r--r--gcc/ch/Make-lang.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ch/Make-lang.in b/gcc/ch/Make-lang.in
index 3eb22be..6c8154f 100644
--- a/gcc/ch/Make-lang.in
+++ b/gcc/ch/Make-lang.in
@@ -108,10 +108,10 @@ CHILL.start.encap: chill
CHILL.rest.encap:
CHILL.dvi: chill.dvi
-CHILL.info: ch/chill.info
+CHILL.info: $(srcdir)/ch/chill.info
-ch/chill.info: $(srcdir)/ch/chill.texi
- $(MAKEINFO) -I$(srcdir)/ch -o ch/chill.info $(srcdir)/ch/chill.texi
+$(srcdir)/ch/chill.info: $(srcdir)/ch/chill.texi
+ cd $(srcdir)/ch && $(MAKEINFO) -o chill.info chill.texi
chill.dvi: $(srcdir)/ch/chill.texi $(srcdir)/extend.texi $(srcdir)/invoke.texi $(srcdir)/md.texi $(srcdir)/rtl.texi $(srcdir)/tm.texi
cd ch ; \
@@ -145,7 +145,7 @@ CHILL.install-common:
# Don't delete $(infodir)/ch.info* unless there's actually new
# docs to install (in case LANGUAGES didn't contain chill earlier).
CHILL.install-info:
- -for i in ch/chill.info*; do \
+ -cd $(srcdir)/ch; for i in chill.info*; do \
rm -f $(infodir)/chill.info*; \
realfile=`echo $$i | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
$(INSTALL_DATA) $$i $(infodir)/$$realfile; \
@@ -169,7 +169,7 @@ CHILL.distclean:
CHILL.extraclean:
CHILL.maintainer-clean:
-rm -f ch/TAGS
- -rm -f ch/chill.info* ch/chill.dvi ch/chill.??s ch/chill.*aux
+ -rm -f $(srcdir)/ch/chill.info* ch/chill.dvi ch/chill.??s ch/chill.*aux
# Delete locally created file.
-rm -f ch/hash.h
#