2005-11-02 Hollis Blanchard <hollis@penguinppc.org>
* Makefile.in (install-local): Use $(DATA). (uninstall): Likewise. * conf/powerpc-ieee1275.rmk (bin_UTILITIES): Move grub-mkimage... (sbin_UTILITIES): ... to here. (sbin_SCRIPTS): New variable. (grub_install_SOURCES): New variable. * util/powerpc/ieee1275/grub-install.in: New file. * util/powerpc/ieee1275/grub-mkimage.c (kernel_path): Remove variable. (add_segments): Call `grub_util_get_path'.
This commit is contained in:
parent
25fe6f0349
commit
4b60267db7
6 changed files with 274 additions and 112 deletions
|
@ -106,7 +106,7 @@ install: install-local
|
|||
|
||||
install-local: all
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||
@list='$(pkgdata_IMAGES) $(pkgdata_MODULES) $(pkgdata_DATA)'; \
|
||||
@list='$(DATA)'; \
|
||||
for file in $$list; do \
|
||||
if test -f "$$file"; then dir=; else dir="$(srcdir)"; fi; \
|
||||
dest="`echo $$file | sed 's,.*/,,'`"; \
|
||||
|
@ -134,7 +134,7 @@ install-strip:
|
|||
$(MAKE) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" install
|
||||
|
||||
uninstall:
|
||||
@list='$(pkgdata_IMAGES) $(pkgdata_MODULES) $(pkgdata_DATA)'; \
|
||||
@list='$(DATA)'; \
|
||||
for file in $$list; do \
|
||||
dest="`echo $$file | sed 's,.*/,,'`"; \
|
||||
rm -f $(DESTDIR)$(pkgdatadir)/$$dest; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue