Commit 2b61dfac authored by johnf's avatar johnf
Browse files

* Add automake as a build dependancy

git-svn-id: http://svn.annodex.net/libfishsound/branches/1.0-stable@3380 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent b86aca9a
......@@ -2,7 +2,7 @@ Source: libfishsound
Section: unknown
Priority: optional
Maintainer: Jamie Wilkinson <jaq@debian.org>
Build-Depends: debhelper (>> 4.0.0), libspeex-dev, libvorbis-dev
Build-Depends: debhelper (>> 4.0.0), libspeex-dev, libvorbis-dev, automake
Standards-Version: 3.6.2
Package: libfishsound1
......
......@@ -7,6 +7,8 @@
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
......@@ -28,20 +30,19 @@ config.status: configure
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
|| cat config.log
touch configure-stamp
build: build-stamp
build-stamp: config.status
dh_testdir
$(MAKE)
-$(MAKE) check
$(MAKE) check
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
-$(MAKE) distclean
rm -f build-stamp
[ ! -f Makefile ] || $(MAKE) distclean
rm -f doc/manpage.refs doc/manpage.links
rm -f doc/libfishsound/html/*.html
rm -f doc/libfishsound/html/*.gif
......@@ -49,10 +50,12 @@ clean:
rm -f doc/libfishsound/latex/doxygen.sty
rm -f doc/libfishsound/latex/*.tex
rm -f doc/fishsound-validate.1
-test -r /usr/share/misc/config.sub && \
cp -f /usr/share/misc/config.sub config.sub
-test -r /usr/share/misc/config.guess && \
cp -f /usr/share/misc/config.guess config.guess
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
dh_clean
install: build
......
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