Skip to content
Browse files

share definition of DOCS between top-level Makefile and platform/Make…

…file.

changes to other OS platforms should follow.
  • Loading branch information...
1 parent 82ca566 commit b418f57f06847ad30cb2f2071ca6d1e400f3e213 itojun committed Jan 2, 2000
Showing with 9 additions and 9 deletions.
  1. +5 −5 Makefile
  2. +4 −0 Makefile.inc
  3. +0 −4 netbsd/Makefile
View
10 Makefile
@@ -18,15 +18,13 @@ bsdi3:
bsdi4:
(cd ${.CURDIR}; set CVSROOT=cvs.kame.net:/cvsroot/kame-local; export CVSROOT; cvs -d cvs.kame.net:/cvsroot/kame-local co -d bsdi4 -P kame/bsdi4)
-DOC= CHANGELOG CHANGELOG.1999 CHANGELOG.1998 CHANGELOG.1997 CHANGELOG.1996 \
- COPYRIGHT COPYRIGHT.jp IMPLEMENTATION INSTALL \
- INSTALL.anoncvs Makefile PORTABILITY VERSION prepare.pl \
- TODO.2292bis TODO.new-repository RELNOTES README USAGE
PLAT= freebsd2 freebsd3 kame netbsd openbsd bsdi3 bsdi4
+# DOCS is defined in Makefile.inc
+TOOLS= Makefile Makefile.inc prepare.pl
update: update-doc update-plat
update-doc:
- (cd ${.CURDIR}; cvs update -d -P ${DOC})
+ (cd ${.CURDIR}; cvs update -d -P ${DOCS} ${TOOLS})
update-plat:
(cd ${.CURDIR}; \
for i in kame ${TARGET}; do \
@@ -54,3 +52,5 @@ tree:
cvs update -d -P $(TARGET); \
fi; \
cvs update -d -P kame)
+
+.include "Makefile.inc"
View
4 Makefile.inc
@@ -0,0 +1,4 @@
+DOCS= CHANGELOG CHANGELOG.1999 CHANGELOG.1998 CHANGELOG.1997 CHANGELOG.1996 \
+ COPYRIGHT COPYRIGHT.jp IMPLEMENTATION INSTALL \
+ INSTALL.anoncvs PORTABILITY VERSION \
+ TODO.2292bis TODO.new-repository RELNOTES README USAGE
View
4 netbsd/Makefile
@@ -11,10 +11,6 @@ PREFIX= /usr/local/v6
DIRS= ${PREFIX} ${PREFIX}/bin ${PREFIX}/sbin ${PREFIX}/lib ${PREFIX}/etc \
${PREFIX}/libexec ${PREFIX}/man ${PREFIX}/share/doc/kame
SECTIONS=1 2 3 4 5 6 7 8 9 n
-DOCS= CHANGELOG CHANGELOG.1998 CHANGELOG.1997 CHANGELOG.1996 \
- COPYRIGHT COPYRIGHT.jp IMPLEMENTATION INSTALL \
- INSTALL.anoncvs Makefile PORTABILITY VERSION prepare.pl \
- TODO.new-repository RELNOTES README USAGE
beforeinstall:
for i in ${DIRS}; do \

0 comments on commit b418f57

Please sign in to comment.
Something went wrong with that request. Please try again.