Commit 3cdef069 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix example scripts build dependencies

Currently, the example scripts (the init.d and the cron script) do not
depend on the Makefile, so if configure is rerun with different
parameters these scripts are not rebuild.

The patch adds Makefile as a dependency so changes to installation paths
or other parameters trigger the rebuild.

Reviewed-by: imsnah
parent ceb76b36
......@@ -4,7 +4,7 @@ CLEANFILES = $(nodist_EXTRA_DATA)
nodist_EXTRA_DATA = ganeti.initd ganeti.cron
all-local: ganeti.initd ganeti.cron
ganeti.%: Makefile
sed \
-e "s#@PREFIX@#$(prefix)#g" \
-e "s#@SYSCONFDIR@#$(sysconfdir)#g" \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment