|
@@ -1,3 +1,5 @@
|
|
1
|
+include $(top_builddir)/Makefile-common.am.inc
|
|
2
|
+
|
1
|
3
|
SUBDIRS=slim
|
2
|
4
|
|
3
|
5
|
lodel2_scripts_dir = $(datadir)/lodel2/scripts
|
|
@@ -8,15 +10,13 @@ EXTRA_DIST = create_instance.sh create_multisite.sh mass_deploy.sh
|
8
|
10
|
lodel2conf_DATA = mass_deploy.cfg
|
9
|
11
|
lodel2confdir=$(sysconfdir)/lodel2
|
10
|
12
|
lodel2statedir=$(localstatedir)/lodel2
|
11
|
|
-lodelsites_data_dirname=sites_data
|
12
|
|
-lodelsites_ctx_dirname=.sites_context/lodelsites
|
13
|
13
|
|
14
|
14
|
do_subst = sed -e 's,\[@\]PKGPYTHONDIR\[@\],$(pkgpythondir),g' \
|
15
|
15
|
-e 's,\[@\]LODEL2_PROGSDIR\[@\],$(lodel2_scripts_dir),g' \
|
16
|
16
|
-e 's,\[@\]LODEL2_CONFDIR\[@\],$(lodel2confdir),g' \
|
17
|
17
|
-e 's,\[@\]LODEL2_VARDIR\[@\],$(lodel2statedir),g' \
|
18
|
|
- -e 's,\[@\]LODELSITES_DATA_DIRNAME\[@\],$(lodelsites_data_dirname),g' \
|
19
|
|
- -e 's,\[@\]LODELSITES_CTX_DIRNAME\[@\],$(lodelsites_ctx_dirname),g'
|
|
18
|
+ -e 's,\[@\]LODELSITES_DATA_DIRNAME\[@\],$(lodel2_multisite_data_dirname),g' \
|
|
19
|
+ -e 's,\[@\]LODELSITES_CTX_DIRNAME\[@\],$(lodel2_multisite_ctx_dirname),g'
|
20
|
20
|
|
21
|
21
|
#There is clearly a way to factorise those rules
|
22
|
22
|
mass_deploy: mass_deploy.sh
|
|
@@ -28,7 +28,6 @@ mass_deploy.cfg:
|
28
|
28
|
|
29
|
29
|
create_instance: create_instance.sh
|
30
|
30
|
$(do_subst) < $(srcdir)/create_instance.sh > create_instance
|
31
|
|
-# sed -e 's,\[@\]LODELSITES_DATADIR_NAME\[@\],$(lodelsites_datadir_name),g' < $(srcdir)/create_instance.sh > create_instance
|
32
|
31
|
chmod +x create_instance
|
33
|
32
|
|
34
|
33
|
create_multisite: create_multisite.sh
|