Skip to content
Snippets Groups Projects
Commit 74e36744 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

improve manpages generation

parent d8e1ee4f
Branches
Tags
No related merge requests found
data_installdir=$(datadir)/man/man1
SECTION="1" SECTION="1"
RELEASE_VERSION="0.9.2" RELEASE_VERSION="0.9.2"
...@@ -7,14 +5,13 @@ TEMPLATES=\ ...@@ -7,14 +5,13 @@ TEMPLATES=\
sflphone-gtk.pod \ sflphone-gtk.pod \
sflphoned.pod sflphoned.pod
MANPAGES=\ man_MANS = sflphoned.1 \
sflphone.1 \ sflphone-gtk.1 \
sflphoned.1 \ sflphone.1
sflphone-gtk.1
POD2MAN=pod2man POD2MAN=pod2man
EXTRA_DIST= $(MANPAGES) EXTRA_DIST= $(man_MANS)
all: $(MANPAGES) all: $(MANPAGES)
...@@ -23,22 +20,23 @@ SUFFIXES=.pod .1 ...@@ -23,22 +20,23 @@ SUFFIXES=.pod .1
.pod.1: .pod.1:
$(POD2MAN) --section=$(SECTION) --release=$(RELEASE_VERSION) --center "" $< > $@ $(POD2MAN) --section=$(SECTION) --release=$(RELEASE_VERSION) --center "" $< > $@
install-data-local:
@catalogs='$(MANPAGES)'; \ #install-data-local:
for i in $$catalogs; do \ # @catalogs='$(man_MANS)'; \
destdir=$(data_installdir); \ # for i in $$catalogs; do \
$(mkinstalldirs) $(data_installdir); \ # destdir=$(data_installdir); \
$(INSTALL_DATA) $$i $(data_installdir); \ # $(mkinstalldirs) $(data_installdir); \
echo "installing $$i...done"; \ # $(INSTALL_DATA) $$i $(data_installdir); \
done # echo "installing $$i...done"; \
# done
uninstall-local:
@catalogs='$(MANPAGES)'; \ #uninstall-local:
for i in $$catalogs; do \ # @catalogs='$(MANPAGES)'; \
destdir=$(data_installdir); \ # for i in $$catalogs; do \
rm -f $(data_installdir)/$$i; \ # destdir=$(data_installdir); \
echo "removing $$i "; \ # rm -f $(data_installdir)/$$i; \
done # echo "removing $$i "; \
# done
clean-local: clean-local:
rm -rf *.1 rm -rf *.1
=head1 NAME
sflphone-gtk - SIP and IAX2 compatible voice over IP softphone GTK+ client.
=head1 SYNOPSIS
sflphone-gtk
=head1 DESCRIPTION
SFLphone is meant to be a robust enterprise-class desktop phone. It provides functions like call transfer, call hold, multiple lines, multiple accounts support.
SFLphone audio layer is build upon a native ALSA interface and and a native PulseAudio interface.
B<sflphone-gtk> is a GTK+ client for SFLphone; it communicates with the core side through DBus. SFLphone package comes with the core, B<sflphoned>.
=head1 BUGS
Please report bugs at http://dev.savoirfairelinux.net/sflphone/newticket.
=head1 AUTHORS
B<sflphoned> is developed in Montreal by Savoir-Faire Linux Inc. The active developers are Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> and Yun Liu <yun.liu@savoirfairelinux.com>.
This manual page was written by Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>.
=head1 SEE ALSO
B<sflphoned>(1)
=head1 COPYRIGHT
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 3 as published by the
Free Software Foundation.
On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
=cut
sflphone-gtk.pod
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment