Revision 4f3d5b76 Makefile.am
b/Makefile.am | ||
---|---|---|
11 | 11 |
|
12 | 12 |
ACLOCAL_AMFLAGS = -I autotools |
13 | 13 |
DOCBOOK_WRAPPER = $(top_srcdir)/autotools/docbook-wrapper |
14 |
BUILD_BASH_COMPLETION = $(top_srcdir)/autotools/build-bash-completion |
|
14 | 15 |
REPLACE_VARS_SED = autotools/replace_vars.sed |
15 | 16 |
|
16 | 17 |
hypervisordir = $(pkgpythondir)/hypervisor |
... | ... | |
148 | 149 |
|
149 | 150 |
noinst_DATA = $(manhtml) doc/html |
150 | 151 |
|
151 |
dist_sbin_SCRIPTS = \ |
|
152 |
daemons/ganeti-noded \ |
|
153 |
daemons/ganeti-watcher \ |
|
154 |
daemons/ganeti-masterd \ |
|
155 |
daemons/ganeti-confd \ |
|
156 |
daemons/ganeti-rapi \ |
|
152 |
gnt_scripts = \ |
|
157 | 153 |
scripts/gnt-backup \ |
158 | 154 |
scripts/gnt-cluster \ |
159 | 155 |
scripts/gnt-debug \ |
... | ... | |
162 | 158 |
scripts/gnt-node \ |
163 | 159 |
scripts/gnt-os |
164 | 160 |
|
161 |
dist_sbin_SCRIPTS = \ |
|
162 |
daemons/ganeti-noded \ |
|
163 |
daemons/ganeti-watcher \ |
|
164 |
daemons/ganeti-masterd \ |
|
165 |
daemons/ganeti-confd \ |
|
166 |
daemons/ganeti-rapi \ |
|
167 |
$(gnt_scripts) |
|
168 |
|
|
165 | 169 |
dist_tools_SCRIPTS = \ |
166 | 170 |
tools/burnin \ |
167 | 171 |
tools/cfgshell \ |
... | ... | |
179 | 183 |
$(docrst) \ |
180 | 184 |
doc/conf.py \ |
181 | 185 |
doc/html \ |
182 |
doc/examples/bash_completion.in \ |
|
183 | 186 |
doc/examples/ganeti.initd.in \ |
184 | 187 |
doc/examples/ganeti.cron.in \ |
185 | 188 |
doc/examples/dumb-allocator \ |
... | ... | |
266 | 269 |
$(REPLACE_VARS_SED) |
267 | 270 |
sed -f $(REPLACE_VARS_SED) < $< > $@ |
268 | 271 |
|
272 |
doc/examples/bash_completion: $(BUILD_BASH_COMPLETION) lib/_autoconf.py \ |
|
273 |
lib/cli.py $(gnt_scripts) tools/burnin |
|
274 |
TMPDIR=`mktemp -d ./buildtmpXXXXXX` && \ |
|
275 |
cp -r scripts lib tools $$TMPDIR && \ |
|
276 |
( \ |
|
277 |
CDIR=`pwd` && \ |
|
278 |
cd $$TMPDIR && \ |
|
279 |
mv lib ganeti && \ |
|
280 |
PYTHONPATH=. $$CDIR/$(BUILD_BASH_COMPLETION) > $$CDIR/$@; \ |
|
281 |
); \ |
|
282 |
rm -rf $$TMPDIR |
|
283 |
|
|
269 | 284 |
doc/%.png: doc/%.dot |
270 | 285 |
@test -n "$(DOT)" || { echo 'dot' not found during configure; exit 1; } |
271 | 286 |
$(DOT) -Tpng -o $@ $< |
... | ... | |
332 | 347 |
echo "SOCAT_PATH = '$(SOCAT_PATH)'"; \ |
333 | 348 |
echo "LVM_STRIPECOUNT = $(LVM_STRIPECOUNT)"; \ |
334 | 349 |
echo "TOOLSDIR = '$(toolsdir)'"; \ |
350 |
echo "GNT_SCRIPTS = [$(foreach i,$(notdir $(gnt_scripts)),'$(i)',)]"; \ |
|
335 | 351 |
} > $@ |
336 | 352 |
|
337 | 353 |
$(REPLACE_VARS_SED): Makefile stamp-directories |
Also available in: Unified diff