aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-04-01 09:24:37 (GMT)
committerGerd Hoffmann <kraxel@redhat.com>2010-04-01 09:24:37 (GMT)
commit0a3b75898a27d0e526d2310832c8b409c9d5c5f0 (patch)
tree512368cbafec7bce5e2ea5fc1a0f1ed5bc62ae83 /Makefile.in
parentab5d04be814f12985f0590495aef5113ffb43799 (diff)
v3.66
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in61
1 files changed, 44 insertions, 17 deletions
diff --git a/Makefile.in b/Makefile.in
index 563a5fc..e5fb47e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,13 +1,40 @@
-SUBDIRS=libvbi libng src man radio font tools webcam http #i2c vtx
+#########################################################
+# build stuff
+
+SUBDIRS=src http webcam libvbi libng libng/plugins radio tools cc man @SUBS@
+
+all build: $(SUBDIRS)
+.PHONY: $(SUBDIRS)
+
+
+src: libvbi libng .havedeps
+ (cd $@; $(MAKE) build)
+
+http: libvbi .havedeps
+ (cd $@; $(MAKE) build)
+
+webcam: libng .havedeps
+ (cd $@; $(MAKE) build)
-all build dep depend install clean distclean realclean::
+libvbi libng libng/plugins radio font tools cc man: .havedeps
+ (cd $@; $(MAKE) build)
+
+
+.havedeps dep depend:
set -ex; for dir in $(SUBDIRS); do \
- (cd $$dir; $(MAKE) $@); \
+ (cd $$dir; $(MAKE) depend) \
+ done
+ touch .havedeps
+
+install clean distclean realclean::
+ set -ex; for dir in $(SUBDIRS); do \
+ (cd $$dir; $(MAKE) $@) \
done
distclean realclean::
- -rm -f *~ debian/*~ config.cache config.h config.log config.status Makefile
+ -rm -f *~ debian/*~ xpm/*~ Makefile Make.config .havedeps
+ -rm -f config.cache config.h config.log config.status
cp Makefile.clean Makefile
@@ -16,24 +43,12 @@ distclean realclean::
VERSION=@XAWTV_VERSION@
-realclean::
- find . -name snap0*.ppm -print | xargs -i rm -f
- find . -name snap0*.jpeg -print | xargs -i rm -f
- find . -name .nfs* -print | xargs -i rm -f
- set -e; for dir in i2c; do make -C $$dir distclean; done
-
-diff:
- last=`ls -t $(HOME)/strusel/linux/xawtv/xawtv_*.tar.gz | head -1`;\
- tardiff $$last . | gzip > ../xawtv_$(VERSION).diff.gz
-
checkit: distclean
dpkg-buildpackage -tc -us -uc -rfakeroot
# rpm -ta ../xawtv_*.tar.gz
lintian ../xawtv_*.changes
-#release: realclean diff
-release: distclean diff
-# make -C font bdf
+release: distclean
dpkg-buildpackage -tc -rfakeroot
port:
@@ -43,9 +58,21 @@ tarball: distclean
(cd ..; tar cvzf xawtv_$(VERSION).tar.gz \
xawtv-$(VERSION))
+snapshot: distclean
+ (cd ..; tar cvzf xawtv-snap-`date +%Y-%m-%d`.tar.gz \
+ xawtv-$(VERSION))
+
auto:
rm -f config.cache
autoconf
autoheader
./configure
+ make distclean
+ make
+
+realclean::
+ find . -name snap0*.ppm -print | xargs -i rm -f
+ find . -name snap0*.jpeg -print | xargs -i rm -f
+ find . -name .nfs* -print | xargs -i rm -f
+ set -e; for dir in i2c; do make -C $$dir distclean; done

Privacy Policy