Bug#299184: asterisk: The configure stamp isn't used.

Mikael Magnusson Mikael Magnusson <mikma@users.sourceforge.net>, 299184@bugs.debian.org
Sat, 12 Mar 2005 12:40:38 +0100


Package: asterisk
Version: 1.0.6-2
Severity: minor
Tags: patch

The following patch will eliminate rerunning configure each time you run for
example "debian/rules build".

/Mikael

diff -ur asterisk-1.0.6/debian/rules asterisk-1.0.6.new/debian/rules
--- asterisk-1.0.6/debian/rules	2005-03-12 12:25:50.169477884 +0100
+++ asterisk-1.0.6.new/debian/rules	2005-03-12 12:27:12.833200427 +0100
@@ -44,9 +44,10 @@
 	  [ ! -f sounds/fpm-sunshine.mp3 ]   && \
 	  [ ! -f sounds/fpm-world-mix.mp3 ] ) || \
 		(echo "WARNING: fpm sounds must to be removed from sources before packaging." ; false )
-	
 
-configure: check-sounds patch
+
+configure: check-sounds patch configure-stamp
+configure-stamp:
 	dh_testdir
 	# Add here commands to configure the package.
 	- (cd editline ; \
@@ -95,7 +96,7 @@
 cleaned:
 	dh_testdir
 	dh_testroot
-	-$(RM) -f build-arch-stamp build-indep-stamp configure 
+	-$(RM) -f build-arch-stamp build-indep-stamp configure-stamp
 
 	# Add here commands to clean up after the build process.
 	#-test -d channels/h323 && $(MAKE) -C channels/h323 clean


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (950, 'testing'), (900, 'testing'), (150, 'unstable'), (100, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)

Versions of packages asterisk depends on:
pn  asterisk-sounds                          Not found.
ii  libasound2            1.0.8-3            ALSA library
ii  libc6                 2.3.2.ds1-20       GNU C Library: Shared libraries an
ii  libedit2              2.9.cvs.20040827-1 BSD editline and history libraries
ii  libexpat1             1.95.8-1           XML parsing C library - runtime li
ii  libgsm1               1.0.10-13          Shared libraries for GSM speech co
ii  libncurses5           5.4-4              Shared libraries for terminal hand
ii  libopenh323-1.12.2    1.12.2-4           H.323 aka VoIP library
ii  libpq3                7.4.7-2            PostgreSQL C client library
ii  libpri1               1.0.4-2            Primary Rate ISDN specification li
ii  libpt-1.5.2           1.5.2-4            Portable Windows Library
ii  libssl0.9.7           0.9.7e-2           SSL shared libraries
ii  libtonezone1          1:1.0.4-3          tonezone library (runtime)
ii  unixodbc              2.2.4-11           ODBC tools libraries
ii  zlib1g                1:1.2.2-3          compression library - runtime