Add target to install into /tftpboot
authorH. Peter Anvin <hpa@zytor.com>
Sun, 23 Mar 2008 00:38:23 +0000 (17:38 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 23 Mar 2008 00:38:23 +0000 (17:38 -0700)
Makefile

index cde7db0..6430760 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,7 @@ LIBDIR   = /usr/lib
 AUXDIR   = $(LIBDIR)/syslinux
 MANDIR  = /usr/man
 INCDIR   = /usr/include
+TFTPBOOT = /tftpboot
 
 PERL     = perl
 
@@ -217,6 +218,13 @@ install-lib: installer
 
 install-all: install install-lib
 
+NETINSTALLABLE = pxelinux.0 memdisk/memdisk memdump/memdump.com \
+       com32/menu/*.c32 com32/modules/*.c32
+
+netinstall: installer
+       mkdir -p $(INSTALLROOT)$(TFTPBOOT)
+       install -m 644 $(NETINSTALLABLE) $(INSTALLROOT)$(TFTPBOOT)
+
 local-tidy:
        rm -f *.o *_bin.c stupid.* patch.offset
        rm -f *.lsr *.lst *.map