diff options
author | seb <seb@pkgsrc.org> | 2003-12-13 22:15:11 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2003-12-13 22:15:11 +0000 |
commit | 3b040a1943b6ab0d24d2ac9cb981a622851fac77 (patch) | |
tree | 9e48534edda922b1ebbf3e3a8c5139c5feb58c77 | |
parent | beacf8b9564c307ab5a0b8c881b84950628c6844 (diff) | |
download | pkgsrc-3b040a1943b6ab0d24d2ac9cb981a622851fac77.tar.gz |
Improve, move around and bring up to date comments about print-PLIST
target.
-rw-r--r-- | mk/bsd.pkg.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 9c3bdf9f4d3..b5d2576f4db 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1319 2003/12/13 00:34:39 seb Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1320 2003/12/13 22:15:11 seb Exp $ # # This file is in the public domain. # @@ -4410,19 +4410,16 @@ print-pkg-size-depends: ### ### Automatic PLIST generation ### - files & symlinks first -### - @exec/@unexec calls are added for info files ### - @dirrm statements last ### - empty directories are handled properly ### - dirs from mtree files are excluded +### - substitute for platform or package specifics substrings ### ### Usage: ### - make install ### - make print-PLIST | brain >PLIST ### -# Common (system) directories not to generate @dirrm statements for -# Reads MTREE_FILE and extracts a list of sed commands that will -# sort out which directories NOT to include into the PLIST @dirrm list SUBST_PLIST_REPLACEMENT1= \ -e 's@${OPSYS}@\$${OPSYS}@' \ -e 's@${OS_VERSION:S/./\./g}@\$${OS_VERSION}@' \ @@ -4437,6 +4434,9 @@ SUBST_PLIST_REPLACEMENT2= \ -e 's@${PKGVERSION:S/./\./g}@\$${PKGVERSION}@' \ -e 's@${PKGLOCALEDIR}/locale@\$${PKGLOCALEDIR}/locale@' +# Common (system) directories not to generate @dirrm statements for +# Reads MTREE_FILE and generate an awk script that will +# sort out which directories NOT to include into the PLIST @dirrm list .if make(print-PLIST) COMMON_DIRS!= ${AWK} 'BEGIN { \ i=0; \ |