Contents of /alx-src/tags/alx-web-0_7_0_20160208_1/Makefile
Parent Directory | Revision Log
Revision 8539 -
(show annotations)
(download)
Mon Feb 8 12:31:54 2016 UTC (8 years, 7 months ago) by niro
File size: 794 byte(s)
Mon Feb 8 12:31:54 2016 UTC (8 years, 7 months ago) by niro
File size: 794 byte(s)
tagged 'alx-web-0_7_0_20160208_1'
1 | # $Id$ |
2 | |
3 | include Makefile.inc |
4 | |
5 | SUBDIRS = apache include js pics scripts share |
6 | |
7 | FILES = help.php import.php index.php loc.php mindterm.jar mindterm.php \ |
8 | monitor.php openclose_ajax.js openclose.php reboot.php show.php \ |
9 | vncviewer.jar vncviewer.php wake_on_lan.php |
10 | |
11 | INSTALLDIRS = $(SUBDIRS:%=install-%) |
12 | CLEANDIRS = $(SUBDIRS:%=clean-%) |
13 | |
14 | all: $(SUBDIRS) |
15 | |
16 | install: $(INSTALLDIRS) all |
17 | $(INSTALL) -d $(DESTDIR)/$(ALX_WEB_INSTALL_DIR) |
18 | $(INSTALL) -m0644 $(FILES) $(DESTDIR)/${ALX_WEB_INSTALL_DIR} |
19 | $(INSTALL) -m0644 VERSION $(DESTDIR)/${ALX_WEB_INSTALL_DIR} |
20 | |
21 | clean: $(CLEANDIRS) |
22 | |
23 | $(SUBDIRS): |
24 | $(MAKE) -C $@ |
25 | |
26 | $(INSTALLDIRS): |
27 | $(MAKE) -C $(@:install-%=%) install |
28 | |
29 | $(CLEANDIRS): |
30 | $(MAKE) -C $(@:clean-%=%) clean |
31 | |
32 | .PHONY: $(SUBDIRS) |
33 | .PHONY: $(INSTALLDIRS) |
34 | .PHONY: $(CLEANDIRS) |
35 | .PHONY: all install clean |