1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/debian/rules Wed Jun 24 05:10:25 2009 +0000
1.6 +# Sample debian/rules that uses debhelper.
1.7 +# This file was originally written by Joey Hess and Craig Small.
1.8 +# As a special exception, when this file is copied by dh-make into a
1.9 +# dh-make output file, you may use that output file without restriction.
1.10 +# This special exception was added by Craig Small in version 0.37 of dh-make.
1.12 +# Uncomment this to turn on verbose mode.
1.13 +#export DH_VERBOSE=1
1.16 +# These are used for cross-compiling and for saving the configure script
1.17 +# from having to guess our platform (since we know it already)
1.18 +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
1.19 +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
1.22 +config.status: configure
1.24 + # Add here commands to configure the package.
1.25 +ifneq "$(wildcard /usr/share/misc/config.sub)" ""
1.26 + cp -f /usr/share/misc/config.sub config.sub
1.28 +ifneq "$(wildcard /usr/share/misc/config.guess)" ""
1.29 + cp -f /usr/share/misc/config.guess config.guess
1.31 + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
1.36 +build-stamp: config.status
1.39 + # Add here commands to compile the package.
1.41 + #docbook-to-man debian/lxdream.sgml > lxdream.1
1.50 + # Add here commands to clean up after the build process.
1.52 + rm -f config.sub config.guess
1.62 + # Add here commands to install the package into debian/lxdream.
1.63 + $(MAKE) DESTDIR=$(CURDIR)/debian/lxdream install
1.66 +# Build architecture-independent files here.
1.67 +binary-indep: build install
1.68 +# We have nothing to do by default.
1.70 +# Build architecture-dependent files here.
1.71 +binary-arch: build install
1.74 + dh_installchangelogs ChangeLog
1.76 + dh_installexamples
1.79 +# dh_installdebconf
1.80 +# dh_installlogrotate
1.81 +# dh_installemacsen
1.101 +binary: binary-indep binary-arch
1.102 +.PHONY: build clean binary-indep binary-arch binary install