[klibc] [PATCH] include /.emacs.d?
Jim Radford
radford_klibc at blackbean.org
Sun Jan 25 13:28:13 PST 2004
make install in the klibc directory ends up doing
include /.*.d
which just happens to pick up root's .emacs.d directory on my machine
which makes make barf (because its a directory). This patch makes
sure that when DIR is not set we don't go poking around in /.
Thanks,
-Jim
PS This message was initially bounced by (via SORBS) because my IP
address is dynamic (it may technically be, but knock on wood, it
hasn't changed in years). While I certainly see spam as a problem,
I'd like to think that not dropping obviously on topic (though not
necessarily worth while) patches would be more important than a few
pieces of spam slipping through.
None of the other kernel related mailing lists have had to resort
to this draconian a policy and yet their spam content is
impressively low. You clearly understand the motivation for
running you own mailserver, so I assume that a request to move this
list to kernel.org would fall on the same deaf ears that your (via
SORBS) request that I route my mail through my ISP's mail server
has. :-)
Thanks again,
-Jim
--- klibc-0.95/klibc/Makefile~ 2003-12-07 17:44:27.000000000 -0800
+++ klibc-0.95/klibc/Makefile 2004-01-16 11:50:13.099010983 -0800
@@ -117,12 +117,12 @@
touch $@
%/static.obj: %.dir
- $(MAKE) objects-$(basename $(notdir $@)) DIR=$*
+ $(MAKE) objects-$(basename $(notdir $@)) DIR=$*/
-STATIC = $(addsuffix .o,$(basename $(wildcard $(DIR)/*.[cS])))
+STATIC = $(addsuffix .o,$(basename $(wildcard $(DIR)*.[cS])))
objects-static: $(STATIC)
- touch $(DIR)/static.obj
+ touch $(DIR)static.obj
clean: archclean
find . -type f -a \( -name \*.[isoa] -o -name \*.l[iso] \) -print0 | xargs -0rt rm -f
@@ -139,6 +139,6 @@
bitsize:
@echo $(BITSIZE)
-ifneq ($(wildcard $(DIR)/.*.d),)
-include $(wildcard $(DIR)/.*.d)
+ifneq ($(wildcard $(DIR).*.d),)
+include $(wildcard $(DIR).*.d)
endif
More information about the klibc
mailing list