summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2009-09-16DocBook: rename main DocBook to media-specs and fix build rulesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-06v4l-dvb: fix make v4l2-spec/dvb-specHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Since the v4l2-spec and dvb-spec directories exist, make v4l2-spec will do nothing. Adding a simple .PHONY rule doesn't help either, since .PHONY doesn't work with wildcard rules. So we have to add a specific rule for these two targets to the top-level Makefile. I thought of changing the target names, but v4l2-spec and dvb-spec are just too obvious a choice to change. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-16Properly handles commit messages with date: fieldMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch allows a better support for third party patches. Now, it will properly recognize and proccess messages with the following format: Date: <some date> From: <some developer> Subject: <patch subject> <body> This will help to better proccess messages received via email. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-27Improves commit message scriptsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch improves message description sanity rules: - mailimport now prefers to edit using editdiff. This helps to fix trivial CodingStyle errors at receive patches; - hghead.pl will now remove blank whitespaces if no body exists; - "make commit" will now run hghead.pl. This will do some sanity checks at commit messages: *) Will warrant that "from:" metatag exists, avoiding to have patches without proper authorship id at someone's else tree; *) Will order the tags at the expected way (subject, from, body, signatures); *) Will warrant that one and just one blank line exists between each of the four parts of the commit message. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-13build: make whitespace cleaning script work with qrefresh targetTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Files changed in an mq patch weren't being checked. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-07-19backport kernel commit 59faba1b316a7798a33752b3889193333f8af1a0Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Original patch from Trent Piepho <xyzzy@speakeasy.org>. Its description: Fix Kconfig dependency problems wrt boolean menuconfigs If one has a dependency chain (tristate)FOO depends on (bool)BAR depends on (tristate)BAZ, build problems will result. If BAZ=m, then BAR can be set y, which allows FOO=y. It's possible to have FOO=y && BAZ=m, which wouldn't be allowed if FOO depended directly on BAZ. In effect, the bool promotes the tristate from m to y. This ends up causing a problem with several menuconfigs that look like: menuconfig BAR bool depends on BAZ [tristate] if BAR config FOO tristate endif The solution used here is to add the dependencies of BAR to the if statement, so that items in the if block will gain a direct non-bool-promoted dependency on BAZ. This is how it would work if a menu was used instead of an if block. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-08A few improvements on v4l-dvb makefileMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> make commit: - It will now detect that the commit message were not changing, aborting commit. This avoids the need of doing a rollback every time you decide not commiting yet; - hg undo command is absent on newer versions of Mercurial. makefile changed to print, instead "hg rollback"; - removed uneeded messages printed on "make commit". make whitespace: - added an alias for make "whitespaces" to work. Since the log message presents "Cleaning bad whitespaces", a common typo mistake were using the parameter in plural. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-12build: add a qrefresh target, like commit for use with mqTrent Piepho
Adds a qrefresh target to the top-level Makefile. It's like commit, but for use with the Hg mq extension. It will execute hg qrefresh, so you should have a current mq patch created with hg qnew already! It will run the whitespace and cardlist scripts. If you do not have a commit message from the current mq patch, it will create a default one, as make commit does. If one already exists, then it will put a comment at the beginning of the existing message with the current diffstat and a note of any changes the whitespace script made. The diffstat is done with qdiff, which will show the total diffstat of the patch instead of just the diffstat of from the last version of the patch to the current version. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-30Make push will push at the dir specified on .hg/hgrcMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> If you specify a push directory on .hg/hgrc as default-push, this will be used to push patches to the repository. The old behaviour were an heritage from the first hg approach, where all people were pushing at just one master. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-22Have the commit auto-check code tell you when it does somethingMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> When the make commit checks for whitespace errors, it will save a copy of the changes it makes to $(TMP)/v4l_hg_whitespace. The prep_commit_msg.pl script will look for this file and include a note in the prepared commit message with diffstat output. The changes that scripts/cardlist might make are not included, but that can be added later. The prep_commit_msg.pl script is effectively totally re-written. This one will try some extra stuff to some up with the user's e-mail, such as looking in the ~/.hgrc file. The Makefile is changed so that temporary files created by make commit and make whitespace will honor the $TMP environment variable, if set. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-20Faster strip whitespace cleaning scriptMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> Faster script that doesn't use any temporary files. The old one would also miss cleaning four spaces in a row in places where it would clean one to eight spaces. Has two options: fast Only clean whitespace in files Hg thinks are modified or added. Used by make whitespace and much (about 100x) faster. manifest Clean all files controlled by Hg, using "hg manifest" The default with no options is the old behaviour, clean all files under the linux directory, except CVS files. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-12The hg push repo can be defined in the envRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> If I want to push a changeset to my own repo with "make push", I just have to define the $REPO_PUSH env var. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-30Now, after commiting, it will show log messagesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This helps to avoid mistakes at commit messages Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-30removed requirement for CHANGE_LOG_* env varsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Before, to use make commit, some env vars were required. Now, just using HGUSER=Mauro Carvalho Chehab <mchehab@infradead.org> is enough to gererate an useful log. Readme updated to this new condition. Also added a warning about keeping the first line in blank. Readme visual improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-29ChangeLog file removed from v4l-dvb Mercurial treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - This patch removes ChangeLog file. with Mercurial, it can be generated any time by running hg logs -v. - Makefile and prep_commit_msg.pl updated to work without ChangeLog. - Removed/Adapted instructions on README.HG about ChangeLog. - prepare-Changelog.pl changed to just report one line. This might help people to identify functions that were changed by a patchset. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-29Use the login name with the ssh URL.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Use the login name with the ssh URL. This allows you to use make push, even if your local username differs from the repo username. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-28make pull will now do push -uMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> pull -u allows retriving info from master database and also update local files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-28Removed commit from make pushMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This allows commiting at local tree first Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-28Several fixes for using with mercurialMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> cvs commands replaced to hg created a new script to help commiting Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2005-12-04Prepare Changelog entries relative to top-level cvs directory.Michael Krufky
- Show Changelog entries relative to top-level cvs directory, rather than v4l/ directory. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-12 * ../v4l/scripts/strip-trailing-whitespaces.sh:Michael Krufky
- Updated script to function in new tree layout. Must be called from top-level. * ../Makefile: - Automatically strip trailing whitespaces before creating Changelog entry.
2005-10-09From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
* ../Makefile: - make changelog now rebuilds cardlist * ../v4l/scripts/buildpatch: - Updated to work against ../linux * ../v4l/scripts/cardlist: - fixed to work even without symlinks Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-09From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
* ../Make - created make changelog to make easier to generate patches. * ../linux/drivers/media/video/cx88/cx88-core.c: * ../linux/drivers/media/video/cx88/cx88.h: * ../linux/kernel/drivers/usb/media/em2820-core.c: * ../linux/kernel/drivers/usb/media/em2820-i2c.c: * ../linux/kernel/drivers/usb/media/em2820-video.c: * ../linux/kernel/drivers/usb/media/em2820.h: - removed unneccessary includes. * ../v4l/scripts/prepare-ChangeLog.pl: - Modified to avoid detecting ChangeLog as a change. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-08 - Added top-level Makefile that calls v4l/MakefileMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>