From 98353b1bc5c6a9110bcc0388666c05f4bcd35a61 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 28 Aug 2014 03:18:15 +0200 Subject: [PATCH] Install the documentation for pppd(8) and chat(8) --- doc/Makefile | 9 +++++++++ doc/project.conf | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index 9ce030a..9acc534 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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 diff --git a/doc/project.conf b/doc/project.conf index 27b1e1c..25d2fa8 100644 --- a/doc/project.conf +++ b/doc/project.conf @@ -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