summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-03-22 17:38:23 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-03-22 17:38:23 -0700
commitf9ad7924909dac4c3cdbaefd1ca6f97cf00ba57e (patch)
tree16345d49e664db215e094fa050009bb905efad4b
parenta84994f618684959ba15e6250c58a767666fce5f (diff)
downloadsyslinux-f9ad7924909dac4c3cdbaefd1ca6f97cf00ba57e.tar.gz
Add target to install into /tftpboot
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cde7db04..64307604 100644
--- 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