FUJITA Tomonori wrote:
On Mon, 14 Dec 2009 11:11:07 +0100
Albert Pauw <albert.pauw@xxxxxxxxx> wrote:
I've attached the patches to move targets.conf.example to conf/examples/
as well as the vtl examples (with the name Tomo suggested).
Thanks!
As for the Makefile changes, I couldn't find anything to change, as only
the empty targets.conf is installed as a dummy from conf/ which I just
left as it was.
I think we need to
1) modify doc/Makefile not to install targets.conf.example.
2) modify conf/Makefile to create conf/examples/ and install the new
example files to it.
Something like this?
--- conf/Makefile 2009-12-14 11:35:24.010194064 +0100
+++ conf/Makefile.me 2009-12-14 11:37:03.787884288 +0100
@@ -5,9 +5,9 @@
.PHONY: install
install:
- install -d -m 755 $(DESTDIR)$(sysconfdir)/tgt
- if [ ! -f $(DESTDIR)$(sysconfdir)/tgt/targets.conf ] ; then \
- install -m 644 targets.conf $(DESTDIR)$(sysconfdir)/tgt ; \
+ install -d -m 755 $(DESTDIR)$(sysconfdir)/tgt/examples
+ if [ ! -f $(DESTDIR)$(sysconfdir)/tgt/examples/targets.* ] ; then \
+ install -m 644 examples/targets.* $(DESTDIR)$(sysconfdir)/tgt/examples ; \
fi
.PHONY: clean