Commit ac3bbf09 authored by Lasse Karstensen's avatar Lasse Karstensen

Use install instead of cp.

Conflicts:
	doc/sphinx/Makefile.am
parent 82e56154
......@@ -148,12 +148,12 @@ reference:
test -d $@ || mkdir $@
BUILT_SOURCES += reference
reference/vmod_std.generated.rst: $(top_builddir)/lib/libvmod_std/vmod_std.rst
cp $? $@
reference/vmod_std.generated.rst: reference $(top_builddir)/lib/libvmod_std/vmod_std.rst
install -D $(top_builddir)/lib/libvmod_std/vmod_std.rst $@
BUILT_SOURCES += reference/vmod_std.generated.rst
reference/vmod_directors.generated.rst: $(top_builddir)/lib/libvmod_directors/vmod_directors.rst
cp $? $@
reference/vmod_directors.generated.rst: reference $(top_builddir)/lib/libvmod_directors/vmod_directors.rst
install -D $(top_builddir)/lib/libvmod_directors/vmod_directors.rst $@
BUILT_SOURCES += reference/vmod_directors.generated.rst
EXTRA_DIST += $(BUILT_SOURCES)
......
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