aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
blob: aec5b366491d938bcd0beb92c40f01ff80ff2ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
SUBDIRS=libvbi libng src man radio font tools webcam http #i2c vtx

all build dep depend install clean distclean realclean::
	set -ex; for dir in $(SUBDIRS); do	\
		cd $$dir; $(MAKE) $@; cd ..;	\
	done

distclean realclean::
	-rm -f *~ debian/*~ config.cache config.h config.log config.status Makefile
	cp Makefile.clean Makefile


#########################################################
# just for me, some maintaining jobs.  Don't use them

RPM=/home/ftp/rpm
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

checkit: distclean
	dpkg-buildpackage -tc -us -uc -rfakeroot
	rpm -ta ../xawtv_*.tar.gz
	lintian ../xawtv_*.changes

diff:
	last=`ls -t $(HOME)/strusel/linux/xawtv/xawtv_*.tar.gz | head -1`;\
	tardiff $$last . | gzip > ../xawtv_$(VERSION).diff.gz

release: realclean diff
	make -C font bdf
	dpkg-buildpackage -tc -rfakeroot

port:
	dpkg-buildpackage -b -tc -rfakeroot

Privacy Policy