Removing files in $(docdemodir)
Alexandre Oliva
oliva at lsd.ic.unicamp.br
Mon Jan 15 05:22:10 CET 2001
On Jan 15, 2001, Alexandre Oliva <oliva at lsd.ic.unicamp.br> wrote:
> If you really mean to delete the contents of $(docdemodir), I suggest
> making it `for f in $(docdemodir)/*; do rm -f $$f; done', to avoid the
> line-too-long error.
Or a change similar to this (that was also needed, as I discovered
just after sending the previous message):
--- gcc/p/Make-lang-2.95.in~ Mon Jan 15 00:12:41 2001
+++ gcc/p/Make-lang-2.95.in Mon Jan 15 00:56:41 2001
@@ -592,7 +592,7 @@
rm -f $(docdemodir)/$$f; \
$(INSTALL_DATA) p/docdemos/$$f $(docdemodir)/$$f || exit 1; \
done && \
- chmod a-x $(docdemodir)/*; \
+ (cd $(docdemodir) && chmod a-x *); \
fi
pascal.install-info: pascal.install-dir pascal.info
--- gcc/p/Make-lang-old.in~ Mon Jan 15 00:12:31 2001
+++ gcc/p/Make-lang-old.in Mon Jan 15 00:56:29 2001
@@ -592,7 +592,7 @@
rm -f $(docdemodir)/$$f; \
$(INSTALL_DATA) p/docdemos/$$f $(docdemodir)/$$f || exit 1; \
done && \
- chmod a-x $(docdemodir)/*; \
+ (cd $(docdemodir) && chmod a-x *); \
fi
pascal.install-info: pascal.install-dir pascal.info
--- gcc/p/Make-lang.in~ Mon Jan 15 00:12:26 2001
+++ gcc/p/Make-lang.in Mon Jan 15 00:56:30 2001
@@ -592,7 +592,7 @@
rm -f $(docdemodir)/$$f; \
$(INSTALL_DATA) p/docdemos/$$f $(docdemodir)/$$f || exit 1; \
done && \
- chmod a-x $(docdemodir)/*; \
+ (cd $(docdemodir) && chmod a-x *); \
fi
pascal.install-info: pascal.install-dir pascal.info
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gpc
mailing list