[syslinux:master] Add diag/ targets into top Makefile for install target
syslinux-bot for Gene Cumm
gene.cumm at gmail.com
Wed Mar 16 17:06:32 PDT 2011
Commit-ID: a472e4b4f1bd14781c5ae012eedf9f189668945e
Gitweb: http://syslinux.zytor.com/commit/a472e4b4f1bd14781c5ae012eedf9f189668945e
Author: Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Wed, 16 Mar 2011 17:26:23 -0400
Committer: Gene Cumm <gene.cumm at gmail.com>
CommitDate: Wed, 16 Mar 2011 17:26:23 -0400
Add diag/ targets into top Makefile for install target
---
MCONFIG | 1 +
Makefile | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/MCONFIG b/MCONFIG
index c76b591..a71fd13 100644
--- a/MCONFIG
+++ b/MCONFIG
@@ -23,6 +23,7 @@ SBINDIR = /sbin
LIBDIR = /usr/lib
DATADIR = /usr/share
AUXDIR = $(DATADIR)/syslinux
+DIAGDIR = $(AUXDIR)/diag
MANDIR = /usr/man
INCDIR = /usr/include
TFTPBOOT = /tftpboot
diff --git a/Makefile b/Makefile
index da90cdc..a2c0855 100644
--- a/Makefile
+++ b/Makefile
@@ -72,6 +72,7 @@ INSTALL_AUX = core/pxelinux.0 gpxe/gpxelinux.0 core/isolinux.bin \
dos/syslinux.com \
mbr/*.bin $(MODULES)
INSTALL_AUX_OPT = win32/syslinux.exe win64/syslinux64.exe
+INSTALL_DIAG = diag/mbr/handoff.bin
# These directories manage their own installables
INSTALLSUBDIRS = com32 utils dosutil
@@ -112,6 +113,8 @@ local-install: installer
mkdir -m 755 -p $(INSTALLROOT)$(AUXDIR)
install -m 644 -c $(INSTALL_AUX) $(INSTALLROOT)$(AUXDIR)
-install -m 644 -c $(INSTALL_AUX_OPT) $(INSTALLROOT)$(AUXDIR)
+ mkdir -m 755 -p $(INSTALLROOT)$(DIAGDIR)
+ install -m 644 -c $(INSTALL_DIAG) $(INSTALLROOT)$(DIAGDIR)
mkdir -m 755 -p $(INSTALLROOT)$(MANDIR)/man1
install -m 644 -c man/*.1 $(INSTALLROOT)$(MANDIR)/man1
: mkdir -m 755 -p $(INSTALLROOT)$(MANDIR)/man8
More information about the Syslinux-commits
mailing list