Contents of /alx-src/tags/alx-web-0_7_0_20170830_1/Makefile
Parent Directory | Revision Log
Revision 10650 -
(show annotations)
(download)
Wed Aug 30 14:31:10 2017 UTC (7 years ago) by niro
File size: 857 byte(s)
Wed Aug 30 14:31:10 2017 UTC (7 years ago) by niro
File size: 857 byte(s)
tagged 'alx-web-0_7_0_20170830_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 | $(INSTALL) -m0644 ChangeLog $(DESTDIR)/${ALX_WEB_INSTALL_DIR} |
21 | |
22 | clean: $(CLEANDIRS) |
23 | |
24 | $(SUBDIRS): |
25 | $(MAKE) -C $@ |
26 | |
27 | $(INSTALLDIRS): |
28 | $(MAKE) -C $(@:install-%=%) install |
29 | |
30 | $(CLEANDIRS): |
31 | $(MAKE) -C $(@:clean-%=%) clean |
32 | |
33 | .PHONY: $(SUBDIRS) |
34 | .PHONY: $(INSTALLDIRS) |
35 | .PHONY: $(CLEANDIRS) |
36 | .PHONY: all install clean |