Skip to content

Commit

Permalink
Whitespace and autogen (from git)
Browse files Browse the repository at this point in the history
  • Loading branch information
richo committed Jan 10, 2012
1 parent 6b23f88 commit 439ea77
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions debian/rules
Expand Up @@ -27,7 +27,8 @@ endif

config.status: configure
dh_testdir


./autogen.sh
./configure \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
Expand All @@ -39,39 +40,39 @@ build: build-stamp

build-stamp: config.status
dh_testdir

$(MAKE)
test -z '$(CHECK)' || make $(CHECK)

touch build-stamp

clean:
dh_testdir
dh_testroot
rm -f build-stamp

[ ! -f Makefile ] || $(MAKE) distclean

dh_clean

install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs

$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp

# we do not want .la files in Debian
rm -f debian/tmp/usr/lib/libmpdclient.la

# these files do not include any useful content
rm -f debian/tmp/usr/share/doc/libmpdclient/README
rm -f debian/tmp/usr/share/doc/libmpdclient/COPYING

# install that file as changelog instead
rm -f debian/tmp/usr/share/doc/libmpdclient/NEWS

dh_install --sourcedir=debian/tmp --fail-missing

binary-indep: build install
Expand Down

0 comments on commit 439ea77

Please sign in to comment.