summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l
diff options
context:
space:
mode:
authorhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-03-11 13:27:13 +0100
committerhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-03-11 13:27:13 +0100
commit26c68ea445a12d980b119bf2883329dc1cf801a0 (patch)
tree1ea69bd09332784d62463e41a4ed5c52c520bc21 /v4l2-apps/libv4l
parent7fcf1772e48bd67d6a5a58145fd6e65c7db96b14 (diff)
downloadmediapointer-dvb-s2-26c68ea445a12d980b119bf2883329dc1cf801a0.tar.gz
mediapointer-dvb-s2-26c68ea445a12d980b119bf2883329dc1cf801a0.tar.bz2
libv4l: remove .orig and .rej files on make clean and simplify make export
From: Hans de Goede <hdegoede@redhat.com> libv4l: remove .orig and .rej files on make clean and simplify make export Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l')
-rw-r--r--v4l2-apps/libv4l/Makefile9
-rw-r--r--v4l2-apps/libv4l/libv4l1/Makefile2
-rw-r--r--v4l2-apps/libv4l/libv4l2/Makefile2
-rw-r--r--v4l2-apps/libv4l/libv4lconvert/Makefile2
4 files changed, 5 insertions, 10 deletions
diff --git a/v4l2-apps/libv4l/Makefile b/v4l2-apps/libv4l/Makefile
index a607bc700..79cc40bca 100644
--- a/v4l2-apps/libv4l/Makefile
+++ b/v4l2-apps/libv4l/Makefile
@@ -13,10 +13,5 @@ clean:
$(MAKE) -C libv4l1 V4L2_LIB_VERSION=$(V4L2_LIB_VERSION) $@
export: clean
- mkdir /tmp/libv4l-$(V4L2_LIB_VERSION)
- cp -a . /tmp/libv4l-$(V4L2_LIB_VERSION)/
- cd /tmp/ && \
- tar cvf /tmp/libv4l-$(V4L2_LIB_VERSION).tar\
- libv4l-$(V4L2_LIB_VERSION)
- gzip /tmp/libv4l-$(V4L2_LIB_VERSION).tar
- rm -rf /tmp/libv4l-$(V4L2_LIB_VERSION)
+ tar --transform s/^\./libv4l-$(V4L2_LIB_VERSION)/g -zcvf \
+ /tmp/libv4l-$(V4L2_LIB_VERSION).tar.gz .
diff --git a/v4l2-apps/libv4l/libv4l1/Makefile b/v4l2-apps/libv4l/libv4l1/Makefile
index 80ba282a5..9f30cbb0f 100644
--- a/v4l2-apps/libv4l/libv4l1/Makefile
+++ b/v4l2-apps/libv4l/libv4l1/Makefile
@@ -69,7 +69,7 @@ endif
install -m 644 libv4l1.pc $(DESTDIR)$(LIBDIR)/pkgconfig
clean::
- rm -f *.a *.so* *.o *.d libv4l1.pc log *~
+ rm -f *.a *.so* *.o *.d libv4l1.pc log *~ *.orig *.rej
%.o: %.c
$(CC) -c -MMD $(CPPFLAGS) $(CFLAGS) -o $@ $<
diff --git a/v4l2-apps/libv4l/libv4l2/Makefile b/v4l2-apps/libv4l/libv4l2/Makefile
index bb9e40741..614b36cf8 100644
--- a/v4l2-apps/libv4l/libv4l2/Makefile
+++ b/v4l2-apps/libv4l/libv4l2/Makefile
@@ -68,7 +68,7 @@ endif
install -m 644 libv4l2.pc $(DESTDIR)$(LIBDIR)/pkgconfig
clean::
- rm -f *.a *.so* *.o *.d libv4l2.pc log *~
+ rm -f *.a *.so* *.o *.d libv4l2.pc log *~ *.orig *.rej
%.o: %.c
$(CC) -c -MMD $(CPPFLAGS) $(CFLAGS) -o $@ $<
diff --git a/v4l2-apps/libv4l/libv4lconvert/Makefile b/v4l2-apps/libv4l/libv4lconvert/Makefile
index 22c512cd5..16ff2e1cd 100644
--- a/v4l2-apps/libv4l/libv4lconvert/Makefile
+++ b/v4l2-apps/libv4l/libv4lconvert/Makefile
@@ -57,7 +57,7 @@ endif
install -m 644 libv4lconvert.pc $(DESTDIR)$(LIBDIR)/pkgconfig
clean::
- rm -f *.a *.so* *.o *.d libv4lconvert.pc log *~
+ rm -f *.a *.so* *.o *.d libv4lconvert.pc log *~ *.orig *.rej
%.o: %.c
$(CC) -c -MMD $(CPPFLAGS) $(CFLAGS) -o $@ $<