Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add diag/ targets into top Makefile for install target
  • Loading branch information
geneC committed Mar 16, 2011
1 parent 9f8b76d commit a472e4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions MCONFIG
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a472e4b

Please sign in to comment.