Annotation of /alx-src/tags/alx-web-0_7_0_20170406_2/Makefile
Parent Directory | Revision Log
Revision 9471 -
(hide annotations)
(download)
Thu Apr 6 13:35:59 2017 UTC (7 years, 5 months ago) by niro
File size: 857 byte(s)
Thu Apr 6 13:35:59 2017 UTC (7 years, 5 months ago) by niro
File size: 857 byte(s)
tagged 'alx-web-0_7_0_20170406_2'
1 | niro | 8535 | # $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 | niro | 8549 | $(INSTALL) -m0644 ChangeLog $(DESTDIR)/${ALX_WEB_INSTALL_DIR} |
21 | niro | 8535 | |
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 |