Thu Sep 28 07:56:41 2017 UTC ()
doc/guide: Use the new syntax for `regen-doc:' commit message

Add a `doc/pkgsrc.*: ' prefix to the regen commit message to follow the
pkgsrc Commit Message Policy.


(leot)
diff -r1.46 -r1.47 pkgsrc/doc/guide/Makefile

cvs diff -r1.46 -r1.47 pkgsrc/doc/guide/Makefile (expand / switch to unified diff)

--- pkgsrc/doc/guide/Makefile 2017/09/28 07:35:35 1.46
+++ pkgsrc/doc/guide/Makefile 2017/09/28 07:56:41 1.47
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.46 2017/09/28 07:35:35 leot Exp $ 1# $NetBSD: Makefile,v 1.47 2017/09/28 07:56:41 leot Exp $
2 2
3DISTNAME= pkgsrc-guide-${PKGVERSION} 3DISTNAME= pkgsrc-guide-${PKGVERSION}
4CATEGORIES= # empty 4CATEGORIES= # empty
5MASTER_SITES= ${MASTER_SITE_LOCAL} 5MASTER_SITES= ${MASTER_SITE_LOCAL}
6DISTFILES= htdocs-share-20170928.tar.gz 6DISTFILES= htdocs-share-20170928.tar.gz
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.NetBSD.org/docs/pkgsrc/ 9HOMEPAGE= http://www.NetBSD.org/docs/pkgsrc/
10COMMENT= The pkgsrc guide 10COMMENT= The pkgsrc guide
11 11
12# To regenerate pkgsrc/doc/pkgsrc.{html,txt} and 12# To regenerate pkgsrc/doc/pkgsrc.{html,txt} and
13# htdocs/docs/pkgsrc, just run "make regen". 13# htdocs/docs/pkgsrc, just run "make regen".
14 14
@@ -98,27 +98,27 @@ install-doc: build @@ -98,27 +98,27 @@ install-doc: build
98 98
99install-htdocs: build 99install-htdocs: build
100 cd ${WRKSRC} && ${CP} pkgsrc.txt pkgsrc.pdf pkgsrc.ps *.html \ 100 cd ${WRKSRC} && ${CP} pkgsrc.txt pkgsrc.pdf pkgsrc.ps *.html \
101 ${HTDOCSDIR}/docs/pkgsrc 101 ${HTDOCSDIR}/docs/pkgsrc
102 102
103.PHONY: regen regen-doc regen-htdocs 103.PHONY: regen regen-doc regen-htdocs
104regen: regen-doc regen-htdocs 104regen: regen-doc regen-htdocs
105 105
106regen-doc: build 106regen-doc: build
107 @${STEP_MSG} "Updating the files in pkgsrc/doc" 107 @${STEP_MSG} "Updating the files in pkgsrc/doc"
108 cd .. && cvs update pkgsrc.* 108 cd .. && cvs update pkgsrc.*
109 ${MAKE} ${MAKEFLAGS} install-doc 109 ${MAKE} ${MAKEFLAGS} install-doc
110 @${STEP_MSG} "Committing the files in pkgsrc/doc" 110 @${STEP_MSG} "Committing the files in pkgsrc/doc"
111 cd .. && cvs commit -m "regen" pkgsrc.* 111 cd .. && cvs commit -m "doc/pkgsrc.*: regen" pkgsrc.*
112 112
113regen-htdocs: build 113regen-htdocs: build
114 @${STEP_MSG} "Updating the files in htdocs" 114 @${STEP_MSG} "Updating the files in htdocs"
115 cd ${HTDOCSDIR}/docs/pkgsrc && cvs update 115 cd ${HTDOCSDIR}/docs/pkgsrc && cvs update
116 ${MAKE} ${MAKEFLAGS} install-htdocs 116 ${MAKE} ${MAKEFLAGS} install-htdocs
117 @${STEP_MSG} "Committing the files in htdocs" 117 @${STEP_MSG} "Committing the files in htdocs"
118 cd ${HTDOCSDIR}/docs/pkgsrc && cvs commit -m "regen" 118 cd ${HTDOCSDIR}/docs/pkgsrc && cvs commit -m "regen"
119 119
120do-lint: 120do-lint:
121 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} lint 121 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} lint
122 122
123DETAB_PROGRAM= \ 123DETAB_PROGRAM= \
124 if (/<programlisting>/ .. /<\/programlisting>/) { \ 124 if (/<programlisting>/ .. /<\/programlisting>/) { \