diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-04-08 09:46:59 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-04-08 09:46:59 +0000 |
commit | e933c8bccf087530caecf97c7bea60c59dcdd209 (patch) | |
tree | 2e80201fb6b1d8fcc1a8a815e534c5acbac10606 /proto | |
parent | 5b055dc946e357517b7ea7f52dd0817025d076a3 (diff) |
Install documentation files for protocols.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/bigreqsproto/Makefile | 6 | ||||
-rw-r--r-- | proto/fontsproto/Makefile | 6 | ||||
-rw-r--r-- | proto/recordproto/Makefile | 6 | ||||
-rw-r--r-- | proto/scrnsaverproto/Makefile | 6 | ||||
-rw-r--r-- | proto/x11proto/Makefile | 17 | ||||
-rw-r--r-- | proto/xcmiscproto/Makefile | 6 |
6 files changed, 41 insertions, 6 deletions
diff --git a/proto/bigreqsproto/Makefile b/proto/bigreqsproto/Makefile index bba179c6b..3f1209b61 100644 --- a/proto/bigreqsproto/Makefile +++ b/proto/bigreqsproto/Makefile @@ -1,7 +1,11 @@ -# $OpenBSD: Makefile,v 1.2 2010/04/24 19:48:03 matthieu Exp $ +# $OpenBSD: Makefile,v 1.3 2012/04/08 09:46:58 matthieu Exp $ HEADERS_SUBDIR= X11/extensions/ HEADERS= bigreqsproto.h bigreqstr.h PKGCONFIG= bigreqsproto.pc +afterinstall: + ${INSTALL_DATA} ${.CURDIR}/specs/bigreq.xml \ + ${DESTDIR}${X11BASE}/share/doc/bigreqsproto + .include <bsd.xorg.mk> diff --git a/proto/fontsproto/Makefile b/proto/fontsproto/Makefile index 00221aa12..23b308a23 100644 --- a/proto/fontsproto/Makefile +++ b/proto/fontsproto/Makefile @@ -1,7 +1,11 @@ -# $OpenBSD: Makefile,v 1.1 2008/03/25 23:28:19 matthieu Exp $ +# $OpenBSD: Makefile,v 1.2 2012/04/08 09:46:58 matthieu Exp $ HEADERS_SUBDIR= X11/fonts/ HEADERS= font.h fontproto.h fontstruct.h FS.h fsmasks.h FSproto.h PKGCONFIG= fontsproto.pc +afterinstall: + ${INSTALL_DATA} ${.CURDIR}/specs/fsproto.xml \ + ${DESTDIR}${X11BASE}/share/doc/fontsproto + .include <bsd.xorg.mk> diff --git a/proto/recordproto/Makefile b/proto/recordproto/Makefile index 840c76ffc..56a6a67ac 100644 --- a/proto/recordproto/Makefile +++ b/proto/recordproto/Makefile @@ -1,7 +1,11 @@ -# $OpenBSD: Makefile,v 1.2 2010/05/10 20:01:46 matthieu Exp $ +# $OpenBSD: Makefile,v 1.3 2012/04/08 09:46:58 matthieu Exp $ HEADERS_SUBDIR= X11/extensions/ HEADERS= recordconst.h recordproto.h recordstr.h PKGCONFIG= recordproto.pc +afterinstall: + ${INSTALL_DATA} ${.CURDIR}/specs/record.xml \ + ${DESTDIR}${X11BASE}/share/doc/recordproto + .include <bsd.xorg.mk> diff --git a/proto/scrnsaverproto/Makefile b/proto/scrnsaverproto/Makefile index 57bbc6da8..4853f98fc 100644 --- a/proto/scrnsaverproto/Makefile +++ b/proto/scrnsaverproto/Makefile @@ -1,7 +1,11 @@ -# $OpenBSD: Makefile,v 1.2 2010/04/25 19:55:03 matthieu Exp $ +# $OpenBSD: Makefile,v 1.3 2012/04/08 09:46:58 matthieu Exp $ HEADERS_SUBDIR= X11/extensions/ HEADERS= saver.h saverproto.h PKGCONFIG= scrnsaverproto.pc +afterinstall: + ${INSTALL_DATA} ${.CURDIR}/specs/saver.xml \ + ${DESTDIR}${X11BASE}/share/doc/scrnsaverproto + .include <bsd.xorg.mk> diff --git a/proto/x11proto/Makefile b/proto/x11proto/Makefile index cc7c4f51d..408a2ced5 100644 --- a/proto/x11proto/Makefile +++ b/proto/x11proto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2009/05/22 15:11:02 matthieu Exp $ +# $OpenBSD: Makefile,v 1.3 2012/04/08 09:46:58 matthieu Exp $ HEADERS_SUBDIR= X11/ HEADERS= ap_keysym.h DECkeysym.h HPkeysym.h keysymdef.h keysym.h \ @@ -8,6 +8,9 @@ HEADERS= ap_keysym.h DECkeysym.h HPkeysym.h keysymdef.h keysym.h \ Xwinsock.h GENERATED_HEADERS= Xfuncproto.h Xpoll.h PKGCONFIG= xproto.pc +SIADDRESSES= IPv6.txt README hostname.txt localuser.txt +SPECS= encoding.xml glossary.xml keysyms.xml \ + sect1-9.xml x11protocol.xml all: ${GENERATED_HEADERS} @@ -26,6 +29,18 @@ install-gh: ${GENERATED_HEADERS} ${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}/${HEADERS_SUBDIR}$$i;\ done +afterinstall: + @for i in ${SPECS}; do \ + echo installing $$i in ${X11BASE}/share/doc/x11proto; \ + ${INSTALL_DATA} ${.CURDIR}/specs/$$i \ + ${DESTDIR}${X11BASE}/share/doc/x11proto;\ + done + @for i in ${SIADDRESSES}; do \ + echo installing $$i in ${X11BASE}/share/doc/x11proto/SIAddresses; \ + ${INSTALL_DATA} ${.CURDIR}/specs/SIAddresses/$$i \ + ${DESTDIR}${X11BASE}/share/doc/x11proto/SIAddresses;\ + done + clean-gh: rm -f ${GENERATED_HEADERS} diff --git a/proto/xcmiscproto/Makefile b/proto/xcmiscproto/Makefile index be4a00e67..aab0c946c 100644 --- a/proto/xcmiscproto/Makefile +++ b/proto/xcmiscproto/Makefile @@ -1,7 +1,11 @@ -# $OpenBSD: Makefile,v 1.2 2010/04/25 19:52:58 matthieu Exp $ +# $OpenBSD: Makefile,v 1.3 2012/04/08 09:46:58 matthieu Exp $ HEADERS_SUBDIR= X11/extensions/ HEADERS= xcmiscproto.h xcmiscstr.h PKGCONFIG= xcmiscproto.pc +afterinstall: + ${INSTALL_DATA} ${.CURDIR}/specs/xc-misc.xml \ + ${DESTDIR}${X11BASE}/share/doc/xcmiscproto + .include <bsd.xorg.mk> |