summaryrefslogtreecommitdiff
path: root/v4l/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-10-09 19:37:56 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-10-09 19:37:56 +0000
commitad123ad074a9b468ce2a16b25d3358364bd9da02 (patch)
tree8ad6ca5f7fdbf1de2631f7212cf897b95177f084 /v4l/Makefile
parentc430753e7672a73576d5e7d54fb35844973ab201 (diff)
downloadmediapointer-dvb-s2-ad123ad074a9b468ce2a16b25d3358364bd9da02.tar.gz
mediapointer-dvb-s2-ad123ad074a9b468ce2a16b25d3358364bd9da02.tar.bz2
- Fixed support for extraversion.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'v4l/Makefile')
-rw-r--r--v4l/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index fcc0882e6..7f09ea0f0 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -259,7 +259,7 @@ clean::
find . -name '*.h' -type l -exec rm '{}' \;
-rm -f *~ *.o *.ko *.mod.c
-linux media:
+distclean:: clean
-rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
-rm -rf .tmp_versions
@@ -268,7 +268,7 @@ ifneq ($(KERNELRELEASE),)
echo -e VERSION=$(VERSION)\\nPATCHLEVEL:=$(PATCHLEVEL)\\nSUBLEVEL:=$(SUBLEVEL)\\nKERNELRELEASE:=$(KERNELRELEASE) > $(obj)/.version
else
echo "No version yet."
- uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)/) { printf ("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s\n",$$1,$$2,$$3,$$1,$$2,$$3); };' > $(obj)/.version
+ uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$$/) { printf ("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$$1,$$2,$$3,$$1,$$2,$$3,$$4); };' > $(obj)/.version
endif