Install the documentation for pppd(8) and chat(8)

This commit is contained in:
Pierre Pronchery 2014-08-28 03:18:15 +02:00
parent 02ade560e2
commit 98353b1bc5
2 changed files with 18 additions and 0 deletions

View File

@ -41,6 +41,12 @@ install: $(TARGETS)
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "phonectl.html"
$(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 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
$(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/Phone
$(INSTALL) -m 0644 pppd-peers_phone $(DESTDIR)$(PREFIX)/share/doc/Phone/pppd-peers_phone
uninstall:
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "phone.1"
@ -48,5 +54,8 @@ 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/pppd-chat_gprs
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/Phone/pppd-peers_gprs
$(RM) -- $(DESTDIR)$(PREFIX)/share/doc/Phone/pppd-peers_phone
.PHONY: all clean distclean install uninstall

View File

@ -32,3 +32,12 @@ type=script
script=./docbook.sh
install=
depends=manual.css.xml,phonectl.css.xml,phonectl.xml
[pppd-chat_gprs]
install=$(PREFIX)/share/doc/Phone
[pppd-peers_gprs]
install=$(PREFIX)/share/doc/Phone
[pppd-peers_phone]
install=$(PREFIX)/share/doc/Phone