Contents of /mcore-src/trunk/mcore-tools/src/modules/pxeconfig/Makefile
Parent Directory | Revision Log
Revision 2678 -
(show annotations)
(download)
Fri Dec 11 09:29:58 2015 UTC (8 years, 9 months ago) by niro
File size: 539 byte(s)
Fri Dec 11 09:29:58 2015 UTC (8 years, 9 months ago) by niro
File size: 539 byte(s)
-renamed pxeconfig.service to pxeconfig.service.in and do not use hardcoded pathes anymore
1 | include ../../../Makefile.inc |
2 | |
3 | SCRIPTS = pxeconfig pxeconfig-cron pxeconfig.service |
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 |