[xiph-cvs] cvs commit: ao/debian changelog control rules

Chris Cheney calc at xiph.org
Wed Dec 12 08:18:54 PST 2001



calc        01/12/12 08:18:54

  Modified:    debian   changelog control rules
  Log:
  One last time... (I hope)

Revision  Changes    Path
1.22      +1 -1      ao/debian/changelog

Index: changelog
===================================================================
RCS file: /usr/local/cvsroot/ao/debian/changelog,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- changelog	2001/12/12 15:53:32	1.21
+++ changelog	2001/12/12 16:18:53	1.22
@@ -2,6 +2,7 @@
 
   * New upstream.
   * Changed to building alsa 0.9.x plugin instead of obsolete 0.5.x (Closes: #103787)
+  * added autotools target (config.* updater) to rules
 
  -- Christopher L Cheney <ccheney at debian.org>  Tue, 11 Dec 2001 23:00:00 -0600
 
@@ -58,5 +59,4 @@
 
 Local variables:
 mode: debian-changelog
-add-log-mailing-address "ccheney at debian.org"
 End:

1.23      +1 -1      ao/debian/control

Index: control
===================================================================
RCS file: /usr/local/cvsroot/ao/debian/control,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- control	2001/12/12 15:53:32	1.22
+++ control	2001/12/12 16:18:53	1.23
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Christopher L Cheney <ccheney at debian.org>
-Build-Depends: debhelper (>> 3.0.0), libarts-dev, libasound2-dev, libesd0-dev
+Build-Depends: debhelper (>> 3.0.0), libarts-dev, libasound2-dev, libesd0-dev, autotools-dev, devscripts
 Standards-Version: 3.5.6.0
 
 Package: libao2

1.14      +22 -3     ao/debian/rules

Index: rules
===================================================================
RCS file: /usr/local/cvsroot/ao/debian/rules,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- rules	2001/12/12 15:53:32	1.13
+++ rules	2001/12/12 16:18:53	1.14
@@ -8,13 +8,17 @@
 # This is the debhelper compatability version to use.
 export DH_COMPAT=3
 
+export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
 configure: configure-stamp
 configure-stamp:
         dh_testdir
         # Add here commands to configure the package.
 
         # If compiling cvs version change to ./autogen.sh --prefix=/usr
-	./configure --prefix=/usr
+	./configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
+	--prefix=/usr
 
         touch configure-stamp
 
@@ -25,8 +29,23 @@
         $(MAKE)
 
         touch build-stamp
+
+autotools:
+	OLDDATESUB=`./config.sub -t | tr -d -` ;\
+	OLDDATEGUESS=`./config.guess -t | tr -d -` ;\
+	NEWDATESUB=`/usr/share/misc/config.sub -t | tr -d -` ;\
+	NEWDATEGUESS=`/usr/share/misc/config.guess -t | tr -d -` ;\
+	if [ $$OLDDATESUB -lt $$NEWDATESUB -o \
+	     $$OLDDATEGUESS -lt $$NEWDATEGUESS ]; then \
+	   dch -a -p "GNU config automated update: config.sub\
+	     ($$OLDDATESUB to $$NEWDATESUB), config.guess\
+	     ($$OLDDATEGUESS to $$NEWDATEGUESS)" ;\
+	   cp -f /usr/share/misc/config.sub config.sub ;\
+	   cp -f /usr/share/misc/config.guess config.guess ;\
+	   echo WARNING: GNU config scripts updated from master copies 1>&2 ;\
+	fi
 
-clean:
+clean: autotools
         dh_testdir
         dh_testroot
         rm -f build-stamp configure-stamp
@@ -71,4 +90,4 @@
         dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: autotools build clean binary-indep binary-arch binary install configure

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list