Commit graph

67 commits

Author SHA1 Message Date
rillig
d01040b2f7 mk/misc/show.mk: improve wording of the help text 2018-05-28 22:34:47 +00:00
rillig
db16752718 mk/*: improve documentation for "make help" 2018-05-16 21:23:02 +00:00
rillig
d77131ac6a mk/misc/show.mk: document the show-all-* targets 2018-02-26 22:51:42 +00:00
rillig
06317929ae Improved documentation for "make help".
The check for target(help) prevents a warning when "make help" is run from
a category directory.
2018-01-07 11:23:37 +00:00
wiz
694ba19af5 mk: remove import target
While it would be useful, the current implementation has not been
updated even to use 'cvs add' instead of 'cvs import' (policy change
in 2012). Use the import-package.sh script currently residing in wip/
instead.
2017-09-16 09:34:25 +00:00
wiz
901afb5669 mk/misc/developer.mk: improve commit message
Commits to doc/ might also affect the TODO file, so use
"doc: " instead of "CHANGES-2017: " as default prefix.

Suggested by jperkin.
2017-09-13 09:06:34 +00:00
wiz
b24bc849af mk/bsd.pkg.mk: Adapt changes-entry target
Prefix package name to commit message.
2017-09-12 14:04:59 +00:00
wiz
ad3aa52d45 Run mk/scripts/mkreadme in quiet mode by default. 2016-07-11 22:53:48 +00:00
jperkin
7d86d7dff0 Uniq BUILD_DEFS and BUILD_DEFS_EFFECTS before printing. 2015-01-30 16:45:33 +00:00
dholland
de73f20ecb Add support for BROKEN_ON_PLATFORM and BROKEN_EXCEPT_ON_PLATFORM, as per
discussion on tech-pkg.

BROKEN_ON_PLATFORM and NOT_FOR_PLATFORM are the same, except that
(now) BROKEN_ON_PLATFORM sets PKG_FAIL_REASON and NOT_FOR_PLATFORM
sets PKG_SKIP_REASON. BROKEN_EXCEPT_FOR_PLATFORM and ONLY_FOR_PLATFORM
correspond in the same way.

The idea is that going forward we will distinguish unbuildable
packages that theoretically ought to be fixed (these are BROKEN) from
packages where it doesn't make sense to build (these are NOT_FOR)...
examples of the former include most non-64-bit-clean packges; examples
of the latter include OS-specific language bindings.

A general review of the uses of NOT_FOR_PLATFORM and ONLY_FOR_PLATFORM
(converting many of them to BROKEN...) is coming up.

Similarly, a general review of the uses of PKG_FAIL_REASON and
PKG_SKIP_REASON is coming up.

For this to become useful, pbulk needs to be taught to report failing
and skipped packages differently - the idea is that failing packages
should be reported up front and skipped packages don't need to be. This
has not been done yet, but one set of things at a time...
2015-01-01 06:06:06 +00:00
wiz
627d407a75 Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
wiz
c9122e82ab Remove old bulk build code. Use pbulk. 2014-06-02 10:24:05 +00:00
obache
b95f24e41f Use ${NETBSD_LOGIN_NAME} for ssh. 2014-02-22 13:11:22 +00:00
obache
17f5e8a221 Add upload-distfiles target for PKG_DEVELOPER, for uploading missing distfiles
to our backup ftp server.
2014-02-20 10:12:22 +00:00
rillig
ba174d0c2f Small grammar fixes in the comment. 2013-08-31 20:54:07 +00:00
obache
8748a0d54c Move show-depends-options again, to be worked form non-option packages. 2013-06-07 00:41:39 +00:00
joerg
af3cbe2308 Allow running on systems where pkg_admin is not in PATH 2013-04-12 13:53:57 +00:00
obache
7072cb4ef3 Experimental support of manifest files for Windows UAC.
For Windows Vista or later, executable files including special keywords
(install, update, patch, and so on) in its name are expected as requireing
privileged permissions by default (UAC).
If not, it must be specified with manifest file, or it will be failed to
execute as "Permission denied".
2013-02-10 13:04:08 +00:00
joerg
80afa9e068 Use first entry of CATEGORIES as default CATEGORY. 2011-11-13 23:09:17 +00:00
joerg
3cf9355a88 If importing into an existing directory, remove the content first. 2011-11-13 23:04:41 +00:00
joerg
6795580ad6 Allow empty FROM to actually work. Allow importing from the target
location in pkgsrc, it is after all the natural place for testing new
imports. Don't try to remove a file named after the import message, it
won't exist.

XXX Needs more work for the second case to remove the files before
XXX running cvs up
2011-11-13 22:52:43 +00:00
joerg
8d92196f4e Don't bail out with parse error if _EXPERIMENTAL isn't set. 2011-11-13 22:28:03 +00:00
wiz
fd9723646f Update description for cce, from Snader_LB. 2011-09-15 21:45:52 +00:00
abs
fc3bada41a Introduce PKGSRC_SETENV, defaulting to SETENV. Can be set to ${SETENV} -i
to santise environment
2011-09-08 20:17:15 +00:00
joerg
d8f9a8b0ce Add USE_NETBSD_REPO option to force make cce and friends to use the
main repository. Very useful when using a local copy of the repository
for normal operation.
2009-08-23 18:09:45 +00:00
wiz
89131fecc2 Make cce depend on todo-entry-remove as well. 2009-08-21 23:34:42 +00:00
wiz
71c2cba0e6 When making an entry to the CHANGES-* file using 'make changes-entry',
the target now automatically also removes any TODO entries for the
package that was updated.

Script improved based on version by dholland; further suggestions
by gdt and joerg.
2009-08-21 12:51:07 +00:00
rillig
5d5d020850 Documented the trap into which I had just fallen. 2009-07-28 07:01:56 +00:00
rillig
99fbe40af6 Added an experimental target "import" that makes it easier to import
packages from pkgsrc-wip and other sources.
2009-07-26 21:36:38 +00:00
rillig
d04f057795 Documented BUILD_DEFS and BUILD_DEFS_EFFECTS. 2008-11-19 08:06:36 +00:00
rillig
5388235d5a typo 2008-11-05 08:24:23 +00:00
rillig
b9420531f9 More keywords for "bmake help". 2008-11-05 08:23:41 +00:00
rillig
74918473a2 Clarified the difference between "Renamed" and "Moved".
Rewrote a bit of code so that CTYPE=mv and CTYPE=ren work as intended.
2008-11-05 08:21:56 +00:00
rillig
161dbd2911 ... and added a few more keywords. 2008-10-20 10:19:18 +00:00
rillig
4ddbfc86a1 Reformatted the comments so that "bmake help" recognizes them. 2008-10-20 10:17:40 +00:00
tnn
dc868fa9b5 Add support for NOT_FOR_BULK_PLATFORM, which works similar
to NOT_FOR_PLATFORM, but only active when BATCH is defined.
Can be used to mark packages that are known to stall the bulk builds on
certain platforms.
2008-05-26 22:05:46 +00:00
jlam
8ac5e5fd34 Relax the values that CTYPE can take for changes-entry and related
targets.  Values are now case-insensitive, and the expanded set of values
that can be used are:

	Added			=> add*
	Updated			=> up*
	Removed			=> rem*, rm
	Renamed, Moved		=> ren*, mov*, mv

This changes is purely for usability reasons -- I have trouble remembering
the exact values, and I don't like to type with capitalization unless.
2008-04-30 16:22:18 +00:00
gdt
282cf8f7f1 Add comment noting that support for OLDNAME in Removed case is needed. 2007-11-29 23:35:37 +00:00
wiz
029e9b6376 Remove some legacy support after branching 2007Q3. 2007-10-16 21:32:59 +00:00
dsl
d24555b956 Fix the .include lines so that make looks in the right place first.
Remember .include "foo.mk" is looked for (first) in the directory that
contains the makefile being processed (like in C), so remove all the
${.PARSEDIR} and ../ sequences that just cause grief.
2007-10-13 11:04:15 +00:00
rillig
cbdb42f74b Explained the usr, pkg and sys that appears in the output. 2007-09-12 10:08:38 +00:00
gdt
837f3385ae Add notes of things that need fixing:
# XXX Accumulate commit message during each operation, so that a final
# commit operation will have a sensible message with all of the
# previous operations.

# XXX Fail if uid is 0, or perhaps != CVS meta files owner, to catch
# the case of invoking these targets as root.
2007-09-09 22:57:04 +00:00
jlam
07dd3147c6 Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead.

Remaining usage of USE_INET6 was solely for the benefit of the scripts
that generate the README.html files.  Replace:

	BUILD_DEFS+=	USE_INET6
with
	BUILD_DEFS+=	IPV6_READY

and teach the README-generation tools to look for that instead.

This nukes USE_INET6 from pkgsrc proper.  We leave a tiny bit of code
to continue to support USE_INET6 for pkgsrc-wip until it has been nuked
from there as well.
2007-09-07 22:12:10 +00:00
rillig
9e9a86e7cc When PKG_DEBUG_LEVEL is 2 or more, the make target is printed for every
shell command that is run via the RUN macro. This makes the output a
little more verbose, but when you have the need to set PKG_DEBUG_LEVEL
that high, you can probably need the extra help you get from this
change.
2007-08-13 08:45:17 +00:00
rillig
6aecf48699 Added mk/misc/category.mk, which contains the definitions that are only
useful for category Makefiles, as opposed to bsd.pkg.subdir.mk, which is
also relevant for the top-level directory. Adjusted the category Makefiles.
2007-08-13 08:12:41 +00:00
rillig
7d184f93ff Moved the stuff that is common to all directories of pkgsrc into its own
file. Now "make help" can be called from the top-level directory,
avoiding to parse lots of buildlink3.mk files just to get some help.
2007-08-13 06:03:46 +00:00
gdt
6e460feeda Add wiz's request, add a changes-entry-noupdate that has the old
behavior of just appending to the file without cvs update (or cvs edit
if not writable), for the convenience of those committing multiple
package updates at once.  To implement this, split the
update/cat/commit into elementary targets and compose them to form the
user-exposed targets, spiff up the comments, and rationalize .PHONY
usage.
2007-08-02 11:52:14 +00:00
gdt
ff5558bc4c Rationalize changes-entry and commit-changes-entry.
changes-entry now does cvs update (and cvs edit if needed), and adds
the line.  This target will behave the same way (with extra CVS
traffic) if the file is up to date, and will be omre useful if
CHANGES-YYYY is not up to date.

commit-changes-entry depends on changes-entry and also commits.  This
target has no behavior changes.

Rename _CCE_FOO variables to PKGSRC_CHANGES_FOO, and merge with
existing varables.

We may need a changes-entry-no-update, or a new name for what
changes-entry does now.  Given how infrequently CHANGES-YYYY is up to
date when I want to add, I believe the new behavior will be welcome to
almost everyone.
2007-07-28 12:23:17 +00:00
gdt
13a15e5263 In cce, run cvs edit if the file is not writable. This occurs with
CVSREAD=t, and should result in unchanged behavior with writable
files.  Split _CCE_CHANGES definition into _CCE_CHANGES_{DIR/BASE} to
facilitate above.
2007-07-21 22:31:02 +00:00
rillig
e0a28fcf8c Added code to display warnings at package build time. Among others, this
will be used for the licenses.
2007-07-20 14:08:19 +00:00