Revision dbefcc7e Makefile.am

b/Makefile.am
73 73
BUILT_SOURCES = \
74 74
	ganeti \
75 75
	srclinks \
76
	stamp-directories \
76 77
	lib/_autoconf.py
77 78

  
78 79
nodist_pkgpython_PYTHON = \
......
308 309
check_python_code = \
309 310
	$(all_python_code)
310 311

  
311
all-local: stamp-directories devel/upload \
312
all-local: devel/upload \
312 313
	doc/examples/bash_completion \
313 314
	doc/examples/ganeti.initd doc/examples/ganeti.cron \
314 315
	doc/examples/hooks/ipsec
315 316

  
316
devel/upload: devel/upload.in stamp-directories $(REPLACE_VARS_SED)
317
devel/upload: devel/upload.in $(REPLACE_VARS_SED)
317 318
	sed -f $(REPLACE_VARS_SED) < $< > $@
318 319
	chmod u+x $@
319 320

  
320
daemons/ganeti-cleaner: daemons/ganeti-cleaner.in stamp-directories \
321
daemons/ganeti-cleaner: daemons/ganeti-cleaner.in \
321 322
		$(REPLACE_VARS_SED)
322 323
	sed -f $(REPLACE_VARS_SED) < $< > $@
323 324
	chmod +x $@
324 325

  
325
doc/examples/%: doc/examples/%.in stamp-directories \
326
doc/examples/%: doc/examples/%.in \
326 327
		$(REPLACE_VARS_SED)
327 328
	sed -f $(REPLACE_VARS_SED) < $< > $@
328 329

  
329
doc/examples/hooks/%: doc/examples/hooks/%.in stamp-directories \
330
doc/examples/hooks/%: doc/examples/hooks/%.in \
330 331
		$(REPLACE_VARS_SED)
331 332
	sed -f $(REPLACE_VARS_SED) < $< > $@
332 333

  
......
346 347
	@test -n "$(DOCBOOK2HTML)" || { echo 'docbook2html' not found during configure; exit 1; }
347 348
	$(DOCBOOK_WRAPPER) "$(DOCBOOK2HTML) --nochunks" $< $(notdir $(@:.in=)) $@
348 349

  
349
man/%.7: man/%.7.in stamp-directories $(REPLACE_VARS_SED)
350
man/%.7: man/%.7.in $(REPLACE_VARS_SED)
350 351
	sed -f $(REPLACE_VARS_SED) < $< > $@
351 352

  
352
man/%.8: man/%.8.in stamp-directories $(REPLACE_VARS_SED)
353
man/%.8: man/%.8.in $(REPLACE_VARS_SED)
353 354
	sed -f $(REPLACE_VARS_SED) < $< > $@
354 355

  
355
man/%.html: man/%.html.in stamp-directories $(REPLACE_VARS_SED)
356
man/%.html: man/%.html.in $(REPLACE_VARS_SED)
356 357
	sed -f $(REPLACE_VARS_SED) < $< > $@
357 358

  
358 359
lib/_autoconf.py: Makefile stamp-directories
......
392 393
	  echo "GNT_SCRIPTS = [$(foreach i,$(notdir $(gnt_scripts)),'$(i)',)]"; \
393 394
	} > $@
394 395

  
395
$(REPLACE_VARS_SED): Makefile stamp-directories
396
$(REPLACE_VARS_SED): Makefile
396 397
	set -e; \
397 398
	{ echo 's#@PREFIX@#$(prefix)#g'; \
398 399
	  echo 's#@SYSCONFDIR@#$(sysconfdir)#g'; \

Also available in: Unified diff