Experimental package creation tool for MinGW.org
リビジョン | 9f4f712abcc64edd9f3535f79b0ea4e97b8d3fa7 (tree) |
---|---|
日時 | 2022-03-11 04:31:57 |
作者 | Keith Marshall <keith@user...> |
コミッター | Keith Marshall |
Encapsulate component package examples within comments.
* src/modules/mkspec.sh (component ...): Mark all as comments.
(subpackage): Add example, encapsulating the DLL component.
@@ -10,7 +10,7 @@ | ||
10 | 10 | # $Id$ |
11 | 11 | # |
12 | 12 | # Written by Keith Marshall <keithmarshall@users.sourceforge.net> |
13 | -# Copyright (C) 2011-2014, 2018, 2020, MinGW.OSDN Project | |
13 | +# Copyright (C) 2011-2014, 2018, 2020, 2022, MinGW.OSDN Project | |
14 | 14 | # |
15 | 15 | # Permission is hereby granted, free of charge, to any person obtaining a copy |
16 | 16 | # of this software and associated documentation files (the "Software"), to deal |
@@ -164,14 +164,21 @@ affiliate "MinGW Contributed Applications" | ||
164 | 164 | # (do please note that the 'N' in 'dll-N' should be replaced by an |
165 | 165 | # appropriate ABI version serial number for the DLL component). |
166 | 166 | # |
167 | -component bin "bin/*.exe" | |
168 | -component dll-N "bin/*.dll" | |
169 | -component dev "include lib share/\$PACKAGE" | |
170 | -component lic "share/doc/\$PACKAGE/\$VERSION/COPYRIGHT" | |
171 | -component man "share/man" | |
167 | +# component bin "bin/*.exe" | |
168 | +# component dll-N "bin/*.dll" | |
169 | +# component dev "include lib share/\$PACKAGE" | |
170 | +# component lic "share/doc/\$PACKAGE/\$VERSION/COPYRIGHT" | |
171 | +# component man "share/man" | |
172 | 172 | |
173 | -component doc "--exclude=share/doc/\$PACKAGE/\$VERSION/COPYRIGHT | |
174 | - share/doc/\$PACKAGE/\$VERSION" | |
173 | +# component doc "--exclude=share/doc/\$PACKAGE/\$VERSION/COPYRIGHT | |
174 | +# share/doc/\$PACKAGE/\$VERSION" | |
175 | + | |
176 | +# When DLL components are to be packaged, rather than distributing | |
177 | +# them as base package components, (as in the example above, we may | |
178 | +# opt to distribute them as components of a sub-package. | |
179 | +# | |
180 | +# subpackage lib$PACKAGE | |
181 | +# component dll-N "bin/*.dll" | |
175 | 182 | |
176 | 183 | # For some packages, it may be necessary to override mingw-pkg's |
177 | 184 | # default actions. Each action is supported by a shell function |