- make install: install docu as well

This commit is contained in:
Thomas Ries 2009-02-28 22:02:01 +00:00
parent 875a5fdc0e
commit 06dd667d74
3 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,6 @@
0.7.2 0.7.2
===== =====
28-Feb-2009: - make install: install docu as well
22-Feb-2009: - Reworked handling of plugin mechanism (libltdl "static" 22-Feb-2009: - Reworked handling of plugin mechanism (libltdl "static"
inclusion of plugins should work now). Building under inclusion of plugins should work now). Building under
Windows (with Cygwin) does work (build with Windows (with Cygwin) does work (build with

View File

@ -64,3 +64,6 @@ install-data-local:
$(INSTALL_DATA) $(srcdir)/siproxd.conf.example $(DESTDIR)$(sysconfdir)/ $(INSTALL_DATA) $(srcdir)/siproxd.conf.example $(DESTDIR)$(sysconfdir)/
$(INSTALL_DATA) $(srcdir)/siproxd_passwd.cfg $(DESTDIR)$(sysconfdir)/ $(INSTALL_DATA) $(srcdir)/siproxd_passwd.cfg $(DESTDIR)$(sysconfdir)/
chmod 600 $(DESTDIR)$(sysconfdir)/siproxd_passwd.cfg chmod 600 $(DESTDIR)$(sysconfdir)/siproxd_passwd.cfg
$(mkinstalldirs) $(DESTDIR)$(docdir)
$(INSTALL_DATA) $(srcdir)/pdf/siproxd_guide.pdf $(DESTDIR)$(docdir)/
$(INSTALL_DATA) $(srcdir)/html/siproxd_guide.html $(DESTDIR)$(docdir)/

View File

@ -54,6 +54,9 @@ make prefix=$RPM_BUILD_ROOT%{prefix} \
mv $RPM_BUILD_ROOT%{sysconfdir}/siproxd.conf.example \ mv $RPM_BUILD_ROOT%{sysconfdir}/siproxd.conf.example \
$RPM_BUILD_ROOT%{sysconfdir}/siproxd.conf $RPM_BUILD_ROOT%{sysconfdir}/siproxd.conf
# will be added separately below
rm -r $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
install -d $RPM_BUILD_ROOT%{_initrddir}/ install -d $RPM_BUILD_ROOT%{_initrddir}/
install contrib/siproxd.init $RPM_BUILD_ROOT%{_initrddir}/siproxd install contrib/siproxd.init $RPM_BUILD_ROOT%{_initrddir}/siproxd