comparison rules @ 53:98e8aa5bd236

using scripts from autotools-dev to ensure recent config.{sub,guess} backporters to lenny need to do this manually
author meillo@marmaro.de
date Fri, 25 Jun 2010 14:08:56 +0200
parents e7f8c0a161b6
children 733f8e64de02
comparison
equal deleted inserted replaced
52:4dababf86cfb 53:98e8aa5bd236
16 endif 16 endif
17 17
18 build: build-stamp 18 build: build-stamp
19 build-stamp: 19 build-stamp:
20 dh_testdir 20 dh_testdir
21 dh_autotools-dev_updateconfig
21 22
22 # Add here commands to compile the package. 23 # Add here commands to compile the package.
23 ./configure $(confflags) \ 24 ./configure $(confflags) \
24 --prefix=/usr --mandir='$${prefix}/share/man' \ 25 --prefix=/usr --mandir='$${prefix}/share/man' \
25 --datadir='$${prefix}/share' \ 26 --datadir='$${prefix}/share' \
41 rm -f build-stamp 42 rm -f build-stamp
42 43
43 # Add here commands to clean up after the build process. 44 # Add here commands to clean up after the build process.
44 [ ! -f Makefile ] || $(MAKE) clean 45 [ ! -f Makefile ] || $(MAKE) clean
45 [ ! -f Makefile ] || $(MAKE) distclean 46 [ ! -f Makefile ] || $(MAKE) distclean
46 # see /usr/share/doc/autotools-dev/README.Debian.gz
47 -test -r /usr/share/misc/config.sub && \
48 cp -f /usr/share/misc/config.sub config.sub
49 -test -r /usr/share/misc/config.guess && \
50 cp -f /usr/share/misc/config.guess config.guess
51 rm -f config.log 47 rm -f config.log
52 48
49 dh_autotools-dev_restoreconfig
53 dh_clean 50 dh_clean
54 51
55 install: build 52 install: build
56 dh_testdir 53 dh_testdir
57 dh_testroot 54 dh_testroot