mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Add install target for ejabberd.yml.5
This commit is contained in:
parent
4c61e465ca
commit
a9383597af
10
Makefile.in
10
Makefile.in
@ -28,6 +28,9 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|||||||
datarootdir = @datarootdir@
|
datarootdir = @datarootdir@
|
||||||
DOCDIR = $(DESTDIR)@docdir@
|
DOCDIR = $(DESTDIR)@docdir@
|
||||||
|
|
||||||
|
# /share/doc/man/man5
|
||||||
|
MANDIR = $(DESTDIR)@mandir@/man5
|
||||||
|
|
||||||
# /usr/lib/ejabberd/ebin/
|
# /usr/lib/ejabberd/ebin/
|
||||||
BEAMDIR = $(EJABBERDDIR)/ebin
|
BEAMDIR = $(EJABBERDDIR)/ebin
|
||||||
|
|
||||||
@ -262,10 +265,11 @@ install: all copy-files
|
|||||||
chmod -R 750 $(LOGDIR)
|
chmod -R 750 $(LOGDIR)
|
||||||
#
|
#
|
||||||
# Documentation
|
# Documentation
|
||||||
|
$(INSTALL) -d $(MANDIR)
|
||||||
$(INSTALL) -d $(DOCDIR)
|
$(INSTALL) -d $(DOCDIR)
|
||||||
[ -f doc/guide.html ] \
|
[ -f ejabberd.yml.5 ] \
|
||||||
&& $(INSTALL) -m 644 doc/guide.html $(DOCDIR) \
|
&& $(INSTALL) -m 644 ejabberd.yml.5 $(MANDIR) \
|
||||||
|| echo "Documentation not included in sources"
|
|| echo "Man page not included in sources"
|
||||||
$(INSTALL) -m 644 COPYING $(DOCDIR)
|
$(INSTALL) -m 644 COPYING $(DOCDIR)
|
||||||
|
|
||||||
uninstall: uninstall-binary
|
uninstall: uninstall-binary
|
||||||
|
Loading…
Reference in New Issue
Block a user