Contents of /alx-src/tags/alx-web-0_7_0_20171218_1/scripts/sql-schema/Makefile
Parent Directory | Revision Log
Revision 11135 -
(show annotations)
(download)
Mon Dec 18 12:03:27 2017 UTC (6 years, 9 months ago) by niro
File size: 598 byte(s)
Mon Dec 18 12:03:27 2017 UTC (6 years, 9 months ago) by niro
File size: 598 byte(s)
tagged 'alx-web-0_7_0_20171218_1'
1 | include ../../Makefile.inc |
2 | |
3 | SUBDIRS = conf include |
4 | |
5 | FILES = mcore-sql-schema.sh |
6 | |
7 | INSTALLDIRS = $(SUBDIRS:%=install-%) |
8 | CLEANDIRS = $(SUBDIRS:%=clean-%) |
9 | |
10 | all: $(SUBDIRS) |
11 | |
12 | install: $(INSTALLDIRS) all |
13 | $(INSTALL) -d $(DESTDIR)/$(ALX_WEB_INSTALL_DIR)/scripts/sql-schema |
14 | $(INSTALL) -m0755 mcore-sql-schema.sh $(DESTDIR)/$(ALX_WEB_INSTALL_DIR)/scripts/sql-schema |
15 | |
16 | clean: $(CLEANDIRS) |
17 | |
18 | $(SUBDIRS): |
19 | $(MAKE) -C $@ |
20 | |
21 | $(INSTALLDIRS): |
22 | $(MAKE) -C $(@:install-%=%) install |
23 | |
24 | $(CLEANDIRS): |
25 | $(MAKE) -C $(@:clean-%=%) clean |
26 | |
27 | .PHONY: $(SUBDIRS) |
28 | .PHONY: $(INSTALLDIRS) |
29 | .PHONY: $(CLEANDIRS) |
30 | .PHONY: all install clean |