# ./prepare is the script that generates configure etc. It only needs to be
# run if building from a checkout rather than a tarball.
build:
# ./prepare is the script that generates configure etc. It only needs to be
# run if building from a checkout rather than a tarball.
build:
- @if test ! -f configure; then \
- echo ./prepare ${CONFIGURE} ${CONFIGURE_EXTRA};\
- ./prepare ${CONFIGURE} ${CONFIGURE_EXTRA};\
- elif test ! -f config.status; then \
+ @set -e;if test ! -f configure; then \
+ echo ./prepare;\
+ ./prepare;\
+ fi
+ @set -e;if test ! -f config.status; then \
debian/disorder/etc/bash_completion.d/disorder
rm -rf debian/disorder/usr/share/man/man8
rm -rf debian/disorder/usr/share/disorder/*.html
debian/disorder/etc/bash_completion.d/disorder
rm -rf debian/disorder/usr/share/man/man8
rm -rf debian/disorder/usr/share/disorder/*.html
rmdir debian/disorder/usr/share/disorder
rm -f debian/disorder/usr/bin/disorder-playrtp
rm -f debian/disorder/usr/bin/disobedience
rm -f debian/disorder/usr/share/man/man1/disorder-playrtp.1
rm -f debian/disorder/usr/share/man/man1/disobedience.1
rmdir debian/disorder/usr/share/disorder
rm -f debian/disorder/usr/bin/disorder-playrtp
rm -f debian/disorder/usr/bin/disobedience
rm -f debian/disorder/usr/share/man/man1/disorder-playrtp.1
rm -f debian/disorder/usr/share/man/man1/disobedience.1
$(MKDIR) debian/disorder/etc/disorder
dpkg-shlibdeps -Tdebian/substvars.disorder \
debian/disorder/usr/bin/*
$(INSTALL_DATA) CHANGES README debian/README.Debian \
BUGS README.* \
debian/disorder/usr/share/doc/disorder/.
$(MKDIR) debian/disorder/etc/disorder
dpkg-shlibdeps -Tdebian/substvars.disorder \
debian/disorder/usr/bin/*
$(INSTALL_DATA) CHANGES README debian/README.Debian \
BUGS README.* \
debian/disorder/usr/share/doc/disorder/.
- bzr log > debian/disorder/usr/share/doc/disorder/changelog
- gzip -9f debian/disorder/usr/share/doc/disorder/changelog \
- debian/disorder/usr/share/doc/disorder/CHANGES \
+ gzip -9f debian/disorder/usr/share/doc/disorder/CHANGES \
debian/disorder/usr/share/doc/disorder/README \
debian/disorder/usr/share/doc/disorder/README.* \
debian/disorder/usr/share/doc/disorder/BUGS \
debian/disorder/usr/share/doc/disorder/README \
debian/disorder/usr/share/doc/disorder/README.* \
debian/disorder/usr/share/doc/disorder/BUGS \
pkg-disorder-server: build
rm -rf debian/disorder-server
$(MKDIR) debian/disorder-server
pkg-disorder-server: build
rm -rf debian/disorder-server
$(MKDIR) debian/disorder-server
$(MAKE) DESTDIR=`pwd`/debian/disorder-server staticdir=/var/www/disorder installdirs install -C doc
rm -rf debian/disorder-server/usr/share/man/man1
rm -rf debian/disorder-server/usr/share/man/man3
$(MAKE) DESTDIR=`pwd`/debian/disorder-server staticdir=/var/www/disorder installdirs install -C doc
rm -rf debian/disorder-server/usr/share/man/man1
rm -rf debian/disorder-server/usr/share/man/man3
$(MKDIR) debian/disorder-server/etc/disorder
$(MKDIR) debian/disorder-server/etc/init.d
$(MKDIR) debian/disorder-server/usr/lib/cgi-bin
$(MKDIR) debian/disorder-server/etc/disorder
$(MKDIR) debian/disorder-server/etc/init.d
$(MKDIR) debian/disorder-server/usr/lib/cgi-bin
debian/disorder-server/etc/disorder/options
$(INSTALL_DATA) debian/etc.disorder.options.user \
debian/disorder-server/etc/disorder/options.user
debian/disorder-server/etc/disorder/options
$(INSTALL_DATA) debian/etc.disorder.options.user \
debian/disorder-server/etc/disorder/options.user
$(shell pwd)/debian/disorder-server/usr/lib/cgi-bin/disorder
dpkg-shlibdeps -Tdebian/substvars.disorder-server \
debian/disorder-server/usr/lib/cgi-bin/disorder \
$(shell pwd)/debian/disorder-server/usr/lib/cgi-bin/disorder
dpkg-shlibdeps -Tdebian/substvars.disorder-server \
debian/disorder-server/usr/lib/cgi-bin/disorder \
pkg-disorder-playrtp: build
rm -rf debian/disorder-playrtp
$(MKDIR) debian/disorder-playrtp
pkg-disorder-playrtp: build
rm -rf debian/disorder-playrtp
$(MKDIR) debian/disorder-playrtp
DEBVERSION:=$(shell dpkg-parsechangelog|awk '/Version:/ {print $$2}')
DSC=disorder_$(DEBVERSION).dsc
DEBSRC=disorder_$(DEBVERSION).tar.gz
DEBVERSION:=$(shell dpkg-parsechangelog|awk '/Version:/ {print $$2}')
DSC=disorder_$(DEBVERSION).dsc
DEBSRC=disorder_$(DEBVERSION).tar.gz
+ rm -rf debian/disorder
+ rm -rf debian/disorder-server
+ rm -rf debian/disorder-playrtp
+ rm -rf debian/disobedience
+
+.PHONY: clean build pkg-disorder pkg-disorder-server pkg-disorder-playrtp \
+ pkg-disobedience source source-check binary binary-arch binary-indep