2009-09-28 Robert Millan <rmh.grub@aybabtu.com>

Do not automatically install headers.

        * Makefile.in (include_DATA): Remove.  Update all users.
This commit is contained in:
robertmh 2009-09-28 14:24:43 +00:00
parent 31299a9556
commit 0e51c3a7d4
2 changed files with 6 additions and 21 deletions

View file

@ -1,3 +1,9 @@
2009-09-28 Robert Millan <rmh.grub@aybabtu.com>
Do not automatically install headers.
* Makefile.in (include_DATA): Remove. Update all users.
2009-09-26 Robert Millan <rmh.grub@aybabtu.com> 2009-09-26 Robert Millan <rmh.grub@aybabtu.com>
* conf/common.rmk (pkglib_MODULES): Remove `lua.mod'. * conf/common.rmk (pkglib_MODULES): Remove `lua.mod'.

View file

@ -233,8 +233,6 @@ build_env.mk: Makefile
echo "COMMON_LDFLAGS=$(COMMON_LDFLAGS)"\ echo "COMMON_LDFLAGS=$(COMMON_LDFLAGS)"\
) > $@ ) > $@
pkglib_BUILDDIR += config.h grub_script.tab.h pkglib_BUILDDIR += config.h grub_script.tab.h
include_DATA += $(shell find $(srcdir)/include -name \*.h | sed -e "s,^$(srcdir)/,,g") \
include/grub/cpu include/grub/machine
all-local: $(PROGRAMS) $(PKGLIB) $(PKGDATA) $(SCRIPTS) $(INFOS) $(MKFILES) all-local: $(PROGRAMS) $(PKGLIB) $(PKGDATA) $(SCRIPTS) $(INFOS) $(MKFILES)
@ -249,20 +247,6 @@ install-local: all
dest="`echo $$file | sed 's,.*/,,'`"; \ dest="`echo $$file | sed 's,.*/,,'`"; \
$(INSTALL_DATA) $$dir$$file $(DESTDIR)$(pkglibdir)/$$dest; \ $(INSTALL_DATA) $$dir$$file $(DESTDIR)$(pkglibdir)/$$dest; \
done done
$(SHELL) $(mkinstalldirs) $(DESTDIR)$(includedir)
@list='$(include_DATA)'; \
for file in $$list; do \
if test -e "$$file"; then dir=; else dir="$(srcdir)/"; fi; \
dest="`echo $$file | sed 's,include/,,'`"; \
destdir="`echo $$dest | sed 's,[^/]*$$,,g'`"; \
$(SHELL) $(mkinstalldirs) $(DESTDIR)$(includedir)/$$destdir; \
if test -f "$$dir$$file"; then \
$(INSTALL_DATA) $$dir$$file $(DESTDIR)$(includedir)/$$dest; \
elif test -L "$$dir$$file"; then \
rm -rf $(DESTDIR)$(includedir)/$$dest && \
cp -fR $$dir$$file $(DESTDIR)$(includedir)/$$dest; \
fi; \
done
$(SHELL) $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) $(SHELL) $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
@list='$(PKGDATA)'; \ @list='$(PKGDATA)'; \
for file in $$list; do \ for file in $$list; do \
@ -354,11 +338,6 @@ uninstall:
dest="`echo $$file | sed 's,.*/,,' | sed '$(transform)'`"; \ dest="`echo $$file | sed 's,.*/,,' | sed '$(transform)'`"; \
rm -f $(DESTDIR)$(sysconfdir)/grub.d/$$dest; \ rm -f $(DESTDIR)$(sysconfdir)/grub.d/$$dest; \
done done
@list='$(include_DATA)'; \
for file in $$list; do \
dest="`echo $$file | sed 's,include/,,'`"; \
rm -f $(DESTDIR)$(includedir)/$$dest; \
done
@list='$(lib_SCRIPTS)'; \ @list='$(lib_SCRIPTS)'; \
for file in $$list; do \ for file in $$list; do \
dest="`echo $$file | sed 's,.*/,,'`"; \ dest="`echo $$file | sed 's,.*/,,'`"; \