Magellan Linux

Contents of /mcore-src/trunk/mcore-tools/src/modules/pxeconfig/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2677 - (show annotations) (download)
Fri Dec 11 09:26:56 2015 UTC (8 years, 4 months ago) by niro
File size: 521 byte(s)
-fixed broken TFTP_DIRECTORY
1 include ../../../Makefile.inc
2
3 SCRIPTS = pxeconfig pxeconfig-cron
4
5 TFTP_DIRECTORY = /var/tftpd/pxelinux.cfg
6
7 SCRIPT_SED_LINES += \
8 -e "s:@@TFTP_DIRECTORY@@:$(TFTP_DIRECTORY):g"
9
10 all: $(SCRIPTS)
11
12 install: install-client install-control all
13
14 install-client: all
15
16 install-control: all
17 $(INSTALL) -d $(DESTDIR)/usr/sbin
18 $(INSTALL) -m0755 pxeconfig $(DESTDIR)/usr/sbin
19 $(INSTALL) -m0755 pxeconfig-cron $(DESTDIR)/usr/sbin
20
21 clean:
22 rm -f $(SCRIPTS)
23
24 .PHONY: install-client
25 .PHONY: install-control
26 .PHONY: all install clean