#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# ./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/var/lib/disorder
$(INSTALL_SCRIPT) examples/disorder.init \
debian/disorder-server/etc/init.d/disorder
$(INSTALL_DATA) debian/etc.disorder.config \
debian/disorder-server/etc/disorder/config
$(MKDIR) debian/disorder-server/var/lib/disorder
$(INSTALL_SCRIPT) examples/disorder.init \
debian/disorder-server/etc/init.d/disorder
$(INSTALL_DATA) debian/etc.disorder.config \
debian/disorder-server/etc/disorder/config
rm -rf debian/disorder-server/usr/share/doc/disorder-server
ln -s disorder debian/disorder-server/usr/share/doc/disorder-server
dpkg-gencontrol -isp -pdisorder-server -Pdebian/disorder-server -Tdebian/substvars.disorder-server
rm -rf debian/disorder-server/usr/share/doc/disorder-server
ln -s disorder debian/disorder-server/usr/share/doc/disorder-server
dpkg-gencontrol -isp -pdisorder-server -Pdebian/disorder-server -Tdebian/substvars.disorder-server
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