Also document the configuration file for phone(1)

This commit is contained in:
Pierre Pronchery 2014-10-21 00:34:45 +02:00
parent e716026f88
commit d9c6e2ae23
4 changed files with 59 additions and 1 deletions

View File

@ -81,6 +81,7 @@ dist:
$(PACKAGE)-$(VERSION)/doc/index.xml \
$(PACKAGE)-$(VERSION)/doc/index.xsl \
$(PACKAGE)-$(VERSION)/doc/manual.css.xml \
$(PACKAGE)-$(VERSION)/doc/phone.conf \
$(PACKAGE)-$(VERSION)/doc/phone.css.xml \
$(PACKAGE)-$(VERSION)/doc/phone.xml \
$(PACKAGE)-$(VERSION)/doc/phonectl.css.xml \

View File

@ -56,6 +56,8 @@ install: $(TARGETS)
$(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/Phone
$(INSTALL) -m 0644 gprs.conf $(DESTDIR)$(PREFIX)/share/doc/Phone/gprs.conf
$(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/Phone
$(INSTALL) -m 0644 phone.conf $(DESTDIR)$(PREFIX)/share/doc/Phone/phone.conf
$(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/Phone
$(INSTALL) -m 0644 pppd-chat_gprs $(DESTDIR)$(PREFIX)/share/doc/Phone/pppd-chat_gprs
$(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/Phone
$(INSTALL) -m 0644 pppd-peers_gprs $(DESTDIR)$(PREFIX)/share/doc/Phone/pppd-peers_gprs
@ -70,6 +72,7 @@ uninstall:
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "phonectl.1"
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "phonectl.html"
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/Phone/gprs.conf
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/Phone/phone.conf
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/Phone/pppd-chat_gprs
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/Phone/pppd-peers_gprs
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/Phone/pppd-peers_phone

51
doc/phone.conf Normal file
View File

@ -0,0 +1,51 @@
#recommended plug-ins
#desktop use
plugins=gprs,notify,oss,panel,password,profiles,systray,ussd
#nokia n900
plugins=gprs,n900,notify,oss,panel,password,profiles,systray,ussd
#openmoko gta01/gta02
plugins=engineering,gprs,notify,openmoko,oss,panel,password,profiles,systray,ussd
[modem::hayes]
device=/dev/modem
baudrate=460800
#hardware flow
#hwflow=0
[modem::sofia]
#connection settings
#username=
#fullname=
#bind=127.0.0.1
#registrar_hostname=
#registrar_username=
#registrar_password=
#proxy_hostname=
[plugin::gprs]
#counter
#in=0
#out=0
#always register to the GPRS network
#attach=0
#connection settings
#apn=
#username=
#password=
#add an icon in the notification area
#systray=1
#interface to monitor (for gprs(1) only)
#interface=ppp0
[plugin::panel]
#display the battery status
#battery=1
#shorten the operator name
#truncate=1
[plugin::video]
device=/dev/video
#mirroring and aspect ratio
#hflip=1
#vflip=1
#ratio=1

View File

@ -1,5 +1,5 @@
targets=gprs.1,gprs.html,index.html,phone.1,phone.html,phonectl.1,phonectl.html
dist=Makefile,docbook.sh,gprs.conf,gprs.css.xml,gprs.xml,index.xml,index.xsl,manual.css.xml,phone.css.xml,phone.xml,phonectl.css.xml,phonectl.xml,pppd-chat_gprs,pppd-ip-down,pppd-ip-up,pppd-peers_gprs,pppd-peers_phone
dist=Makefile,docbook.sh,gprs.conf,gprs.css.xml,gprs.xml,index.xml,index.xsl,manual.css.xml,phone.conf,phone.css.xml,phone.xml,phonectl.css.xml,phonectl.xml,pppd-chat_gprs,pppd-ip-down,pppd-ip-up,pppd-peers_gprs,pppd-peers_phone
[gprs.1]
type=script
@ -27,6 +27,9 @@ script=./docbook.sh
install=
depends=phone.xml
[phone.conf]
install=$(PREFIX)/share/doc/Phone
[phone.html]
type=script
script=./docbook.sh