#
# 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/*
$(MKDIR) debian/disorder/etc/disorder
dpkg-shlibdeps -Tdebian/substvars.disorder \
debian/disorder/usr/bin/*
- 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 \
- debian/disorder/usr/share/doc/disorder/README \
+ gzip -9f 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/man/man*/*
debian/disorder/usr/share/doc/disorder/README.* \
debian/disorder/usr/share/doc/disorder/BUGS \
debian/disorder/usr/share/man/man*/*
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
- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) server/disorder.cgi \
- $(shell pwd)/debian/disorder-server/usr/lib/cgi-bin/disorder/disorder
+ $(INSTALL_DATA) debian/etc.disorder.options.user \
+ debian/disorder-server/etc/disorder/options.user
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) cgi/disorder.cgi \
+ $(shell pwd)/debian/disorder-server/usr/lib/cgi-bin/disorder
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
debian/disorder-playrtp/usr/bin/*
$(INSTALL_DATA) debian/README.RTP \
debian/disorder-playrtp/usr/share/doc/disorder-playrtp/README
debian/disorder-playrtp/usr/bin/*
$(INSTALL_DATA) debian/README.RTP \
debian/disorder-playrtp/usr/share/doc/disorder-playrtp/README
- $(INSTALL_DATA) CHANGES debian/disorder-playrtp/usr/share/doc/disorder-playrtp/CHANGES
- gzip -9f debian/disorder-playrtp/usr/share/doc/disorder-playrtp/CHANGES \
- debian/disorder-playrtp/usr/share/man/man*/*
+ $(INSTALL_DATA) CHANGES.html debian/disorder-playrtp/usr/share/doc/disorder-playrtp/CHANGES.html
+ gzip -9f debian/disorder-playrtp/usr/share/man/man*/*
dpkg-gencontrol -isp -pdisorder-playrtp -Pdebian/disorder-playrtp -Tdebian/substvars.disorder-playrtp
chown -R root:root debian/disorder-playrtp
chmod -R g-ws debian/disorder-playrtp
dpkg --build debian/disorder-playrtp ..
dpkg-gencontrol -isp -pdisorder-playrtp -Pdebian/disorder-playrtp -Tdebian/substvars.disorder-playrtp
chown -R root:root debian/disorder-playrtp
chmod -R g-ws debian/disorder-playrtp
dpkg --build 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