summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2009-05-28 15:13:23 -0400
committerSteve Dickson <steved@redhat.com>2009-05-28 15:13:23 -0400
commit639012fa65eb1a6814394033026771f785f016ac (patch)
treec8040e75ff7ef473a5620a12ccd28ab0845ac5be /doc
parent018cb4ebd8ebd484eb6d755288dd21faed3c2be1 (diff)
downloadti-rpc-639012fa65eb1a6814394033026771f785f016ac.tar.gz
make install fails when --prefix is used.
Moved the install rules for etc_netconfig into its own doc/Makefile.am so $(DESTDIR) is defined correctly when the --prefix configuration argument is used. Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..cc4fa76
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,5 @@
+
+install: install-am
+ $(mkinstalldirs) $(DESTDIR)/etc
+ cp -p ./etc_netconfig $(DESTDIR)/etc/netconfig
+ chmod 0644 $(DESTDIR)/etc/netconfig