From 85b54c00cfc4dba53bd4145d9163aa207da94f8c Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Wed, 21 Jan 2009 21:24:45 +0100 Subject: v4l2-spec: fix hgignore rules and add shortcuts to make v4l2-apps and v4l2-spec. From: Hans Verkuil .hgignore rules for v4l2-spec are fixed and it is now possible to run 'make apps' or 'make spec' to make v4l2-apps and v4l2-spec respectively. 'make distclean' or 'make clean' will also go into those directories. Priority: normal Signed-off-by: Hans Verkuil --- .hgignore | 9 +++++++++ Makefile | 10 ++++++++++ v4l2-spec/Makefile | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.hgignore b/.hgignore index 8e8363105..7bfa8ca56 100644 --- a/.hgignore +++ b/.hgignore @@ -53,3 +53,12 @@ v4l2-apps/util/ivtv-ctl$ v4l2-apps/util/v4l-board-dbg$ v4l2-apps/lib/libv4l/libv4l[12]/.*.so.0$ v4l2-apps/lib/libv4l/libv4lconvert/.*.so.0$ +v4l2-spec/capture$ +v4l2-spec/capture.c.sgml$ +v4l2-spec/entities.sgml$ +v4l2-spec/.*\.stamp$ +v4l2-spec/indices.sgml$ +v4l2-spec/v4l2-single$ +v4l2-spec/v4l2$ +v4l2-spec/v4l2.pdf$ +v4l2-spec/videodev2.h.sgml$ diff --git a/Makefile b/Makefile index a1e609f0e..20e4e8fb8 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,16 @@ install: commit cvscommit hgcommit change changes changelog:: whitespace @cd $(BUILD_DIR); scripts/cardlist; scripts/do_commit.sh $(EDITOR) $(TMP)/v4l_hg_whitespace; cd .. +spec: + $(MAKE) -C v4l2-spec + +apps: + $(MAKE) -C v4l2-apps + +distclean clean:: + $(MAKE) -C v4l2-spec $@ + $(MAKE) -C v4l2-apps $@ + qrefresh: Q=q qrefresh:: whitespace cd $(BUILD_DIR); scripts/cardlist; cd .. diff --git a/v4l2-spec/Makefile b/v4l2-spec/Makefile index 50de7cf44..9a13c9171 100644 --- a/v4l2-spec/Makefile +++ b/v4l2-spec/Makefile @@ -481,7 +481,7 @@ pdf-build.stamp: Makefile checks $(SGMLS) $(PDFPICS) capture: ../v4l2-apps/test/capture_example.c gcc $^ -o $@ -clean: +distclean clean: rm -f *.stamp rm -f videodev2.h.sgml rm -f capture.c.sgml -- cgit v1.2.3