Search
lxdream.org :: lxdream/debian/rules :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename debian/rules
changeset 519:ef9a7f176401
next1055:072457c02704
author nkeynes
date Mon Jan 28 02:37:09 2008 +0000 (16 years ago)
permissions -rw-r--r--
last change Add general purpose relative filename helper
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/debian/rules Mon Jan 28 02:37:09 2008 +0000
1.3 @@ -0,0 +1,99 @@
1.4 +#!/usr/bin/make -f
1.5 +# -*- makefile -*-
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.11 +
1.12 +# Uncomment this to turn on verbose mode.
1.13 +#export DH_VERBOSE=1
1.14 +
1.15 +
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.20 +
1.21 +
1.22 +config.status: configure
1.23 + dh_testdir
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.27 +endif
1.28 +ifneq "$(wildcard /usr/share/misc/config.guess)" ""
1.29 + cp -f /usr/share/misc/config.guess config.guess
1.30 +endif
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.32 +
1.33 +
1.34 +build: build-stamp
1.35 +
1.36 +build-stamp: config.status
1.37 + dh_testdir
1.38 +
1.39 + # Add here commands to compile the package.
1.40 + $(MAKE)
1.41 + #docbook-to-man debian/lxdream.sgml > lxdream.1
1.42 +
1.43 + touch $@
1.44 +
1.45 +clean:
1.46 + dh_testdir
1.47 + dh_testroot
1.48 + rm -f build-stamp
1.49 +
1.50 + # Add here commands to clean up after the build process.
1.51 + $(MAKE) distclean
1.52 + rm -f config.sub config.guess
1.53 +
1.54 + dh_clean
1.55 +
1.56 +install: build
1.57 + dh_testdir
1.58 + dh_testroot
1.59 + dh_clean -k
1.60 + dh_installdirs
1.61 +
1.62 + # Add here commands to install the package into debian/lxdream.
1.63 + $(MAKE) DESTDIR=$(CURDIR)/debian/lxdream install
1.64 +
1.65 +
1.66 +# Build architecture-independent files here.
1.67 +binary-indep: build install
1.68 +# We have nothing to do by default.
1.69 +
1.70 +# Build architecture-dependent files here.
1.71 +binary-arch: build install
1.72 + dh_testdir
1.73 + dh_testroot
1.74 + dh_installchangelogs ChangeLog
1.75 + dh_installdocs
1.76 + dh_installexamples
1.77 +# dh_install
1.78 +# dh_installmenu
1.79 +# dh_installdebconf
1.80 +# dh_installlogrotate
1.81 +# dh_installemacsen
1.82 +# dh_installpam
1.83 +# dh_installmime
1.84 +# dh_python
1.85 +# dh_installinit
1.86 +# dh_installcron
1.87 +# dh_installinfo
1.88 + dh_installman
1.89 + dh_link
1.90 + dh_strip
1.91 + dh_compress
1.92 + dh_fixperms
1.93 +# dh_perl
1.94 +# dh_makeshlibs
1.95 + dh_installdeb
1.96 + dh_shlibdeps
1.97 + dh_gencontrol
1.98 + dh_md5sums
1.99 + dh_builddeb
1.100 +
1.101 +binary: binary-indep binary-arch
1.102 +.PHONY: build clean binary-indep binary-arch binary install
.