bday
diff debian/rules @ 11:9bd926eb89fa
added debian/ stuff; fix in Makefile
author | meillo@marmaro.de |
---|---|
date | Wed, 19 Dec 2007 01:46:47 +0100 |
parents | |
children | a1ac59b7916b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/debian/rules Wed Dec 19 01:46:47 2007 +0100 1.3 @@ -0,0 +1,81 @@ 1.4 +#!/usr/bin/make -f 1.5 +# Sample debian/rules that uses debhelper. 1.6 +# GNU copyright 1997 to 1999 by Joey Hess. 1.7 + 1.8 +# Uncomment this to turn on verbose mode. 1.9 +#export DH_VERBOSE=1 1.10 + 1.11 +# This is the debhelper compatibility version to use. 1.12 +#export DH_COMPAT=4 1.13 + 1.14 +CFLAGS = -g 1.15 +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 1.16 +CFLAGS += -O0 1.17 +else 1.18 +CFLAGS += -O2 1.19 +endif 1.20 + 1.21 +build: build-stamp 1.22 +build-stamp: 1.23 + dh_testdir 1.24 + 1.25 + # Add here commands to compile the package. 1.26 + $(MAKE) build 1.27 + 1.28 + touch build-stamp 1.29 + 1.30 +clean: 1.31 + dh_testdir 1.32 + dh_testroot 1.33 + rm -f build-stamp 1.34 + 1.35 + # Add here commands to clean up after the build process. 1.36 + -$(MAKE) clean 1.37 + 1.38 + dh_clean 1.39 + 1.40 +install: build 1.41 + dh_testdir 1.42 + dh_testroot 1.43 + dh_clean -k 1.44 + dh_installdirs 1.45 + 1.46 + # Add here commands to install the package into debian/gentoo. 1.47 + $(MAKE) install DESTDIR=$(CURDIR)/debian/bday 1.48 + 1.49 +# Build architecture-independent files here. 1.50 +binary-indep: build install 1.51 +# We have nothing to do by default. 1.52 + 1.53 +# Build architecture-dependent files here. 1.54 +binary-arch: build install 1.55 + dh_testdir 1.56 + dh_testroot 1.57 +# dh_installdebconf 1.58 + dh_installdocs 1.59 + dh_installexamples 1.60 +# dh_installmenu 1.61 +# dh_installlogrotate 1.62 +# dh_installemacsen 1.63 +# dh_installpam 1.64 +# dh_installmime 1.65 +# dh_installinit 1.66 +# dh_installcron 1.67 + dh_installman 1.68 +# dh_installinfo 1.69 +# dh_undocumented 1.70 + dh_installchangelogs ChangeLog 1.71 + dh_link 1.72 + dh_strip 1.73 + dh_compress 1.74 + dh_fixperms 1.75 +# dh_makeshlibs 1.76 + dh_installdeb 1.77 +# dh_perl 1.78 + dh_shlibdeps 1.79 + dh_gencontrol 1.80 + dh_md5sums 1.81 + dh_builddeb 1.82 + 1.83 +binary: binary-indep binary-arch 1.84 +.PHONY: build clean binary-indep binary-arch binary install