Annotation of /mcore-src/trunk/mcore-tools/src/modules/pxeconfig/Makefile
Parent Directory | Revision Log
Revision 2674 -
(hide annotations)
(download)
Fri Dec 11 08:48:44 2015 UTC (8 years, 5 months ago) by niro
File size: 520 byte(s)
Fri Dec 11 08:48:44 2015 UTC (8 years, 5 months ago) by niro
File size: 520 byte(s)
-added pxeconfig module
1 | niro | 2674 | include ../../../Makefile.inc |
2 | |||
3 | SCRIPTS = pxeconfig pxeconfig-cron | ||
4 | |||
5 | TFTP_DIRECTORY = /var/tftp/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 |