Commit 1fc85cea authored by calc's avatar calc

a few more updates

svn path=/trunk/vorbis-tools/; revision=2845
parent 82d45725
......@@ -10,4 +10,5 @@ Architecture: any
Depends: ${shlibs:Depends}
Description: Several Ogg Vorbis Tools
vorbis-tools contains oggenc (an encoder), ogg123 (a playback tool),
ogginfo (displays ogg information), and vorbiscomment (ogg comment editor)
ogginfo (displays ogg information), vcut (ogg file splitter), and
vorbiscomment (ogg comment editor)
......@@ -8,13 +8,16 @@
# 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
......@@ -22,18 +25,30 @@ build: configure-stamp build-stamp
build-stamp:
dh_testdir
# Add here commands to compile the package.
$(MAKE)
#/usr/bin/docbook-to-man debian/vorbis-tools.sgml > vorbis-tools.1
touch build-stamp
clean:
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: autotools
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
-$(MAKE) distclean
dh_clean
......@@ -44,7 +59,6 @@ install: build
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tmp.
$(MAKE) install DESTDIR=`pwd`/debian/tmp
# Build architecture-independent files here.
......@@ -75,4 +89,4 @@ binary-arch: build install
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment