bday

changeset 11:9bd926eb89fa

added debian/ stuff; fix in Makefile
author meillo@marmaro.de
date Wed, 19 Dec 2007 01:46:47 +0100
parents 6d25afd91132
children dc220ec8248d
files .hgignore Makefile debian/changelog debian/compat debian/control debian/copyright debian/docs debian/rules
diffstat 8 files changed, 136 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/.hgignore	Wed Dec 19 01:26:56 2007 +0100
     1.2 +++ b/.hgignore	Wed Dec 19 01:46:47 2007 +0100
     1.3 @@ -5,3 +5,6 @@
     1.4  
     1.5  *.o
     1.6  bday
     1.7 +Packages
     1.8 +*.tar.gz
     1.9 +ChangeLog
     2.1 --- a/Makefile	Wed Dec 19 01:26:56 2007 +0100
     2.2 +++ b/Makefile	Wed Dec 19 01:46:47 2007 +0100
     2.3 @@ -5,7 +5,7 @@
     2.4  VERSION = 0.1
     2.5  NV=${NAME}-${VERSION}
     2.6  
     2.7 -DOCS=COPYRIGHT ChangeLog TODO
     2.8 +DOCS=COPYRIGHT COPYING ChangeLog TODO
     2.9  
    2.10  # paths
    2.11  PREFIX = /usr
    2.12 @@ -28,7 +28,7 @@
    2.13  
    2.14  dist: build changelog
    2.15  	@mkdir -p ${NV}
    2.16 -	@cp -f ${NAME} ${NAME}.1 Makefile ${DOCS} ${NV}
    2.17 +	@cp -f ${NAME} ${SRC} ${NAME}.1 Makefile ${DOCS} ${NV}
    2.18  	@tar -czhof ${NV}.tar.gz ${NV}
    2.19  	@rm -rf ${NV}
    2.20  
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/debian/changelog	Wed Dec 19 01:46:47 2007 +0100
     3.3 @@ -0,0 +1,12 @@
     3.4 +bday (0.1-2) unstable; urgency=low
     3.5 +
     3.6 +  * better content in debian/
     3.7 +
     3.8 + -- markus schnalke <meillo@marmaro.de>  Wed, 19 Dec 2007 01:37:59 +0100
     3.9 +
    3.10 +
    3.11 +bday (0.1-1) unstable; urgency=low
    3.12 +
    3.13 +  * Initial debian package
    3.14 +
    3.15 + -- markus schnalke <meillo@marmaro.de>  Mon, 17 Dec 2007 09:59:02 +0100
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/debian/compat	Wed Dec 19 01:46:47 2007 +0100
     4.3 @@ -0,0 +1,1 @@
     4.4 +5
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/debian/control	Wed Dec 19 01:46:47 2007 +0100
     5.3 @@ -0,0 +1,19 @@
     5.4 +Source: bday
     5.5 +Section: misc
     5.6 +Priority: extra
     5.7 +Maintainer: markus schnalke <meillo@marmaro.de>
     5.8 +Build-Depends: debhelper (>= 5)
     5.9 +Standards-Version: 3.7.2
    5.10 +
    5.11 +Package: bday
    5.12 +Architecture: i386
    5.13 +Depends: ${shlibs:Depends}, ${misc:Depends}, libc6-dev
    5.14 +Description: birthday and event reminder
    5.15 + Given a list of the dates of various different events, works out and
    5.16 + displays a list of those which will come up in the next couple of
    5.17 + weeks. This was originally designed for birthdays, but can equally be
    5.18 + used for reminders about yearly events.
    5.19 + .
    5.20 + bday is heavily based upon birthday by Andy Mortimer.
    5.21 + .
    5.22 + Website: http://prog.marmaro.de
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/debian/copyright	Wed Dec 19 01:46:47 2007 +0100
     6.3 @@ -0,0 +1,15 @@
     6.4 +This package was debianized by markus schnalke <meillo@marmaro.de> on
     6.5 +Wed, 19 Dec 2007 01:37:19 +0100
     6.6 +
     6.7 +It was downloaded from http://prog.marmaro.de
     6.8 +
     6.9 +Upstream Author: markus schnalke <meillo@marmaro.de>
    6.10 +
    6.11 +This software is copyright (c) 2007 markus schnalke, 1994-1999 Andy Mortimer.
    6.12 +(Andy Mortimer is the author of birthday, which is the base for bday.)
    6.13 +
    6.14 +You are free to distribute this software under the terms of
    6.15 +the GNU General Public License  either version 2 of the License,
    6.16 +or (at your option) any later version.
    6.17 +On Debian systems, the complete text of the GNU General Public
    6.18 +License can be found in the file `/usr/share/common-licenses/GPL-2'.
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/debian/docs	Wed Dec 19 01:46:47 2007 +0100
     7.3 @@ -0,0 +1,3 @@
     7.4 +COPYRIGHT
     7.5 +COPYING
     7.6 +TODO
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/debian/rules	Wed Dec 19 01:46:47 2007 +0100
     8.3 @@ -0,0 +1,81 @@
     8.4 +#!/usr/bin/make -f
     8.5 +# Sample debian/rules that uses debhelper.
     8.6 +# GNU copyright 1997 to 1999 by Joey Hess.
     8.7 +
     8.8 +# Uncomment this to turn on verbose mode.
     8.9 +#export DH_VERBOSE=1
    8.10 +
    8.11 +# This is the debhelper compatibility version to use.
    8.12 +#export DH_COMPAT=4
    8.13 +
    8.14 +CFLAGS = -g
    8.15 +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
    8.16 +CFLAGS += -O0
    8.17 +else
    8.18 +CFLAGS += -O2
    8.19 +endif
    8.20 +
    8.21 +build: build-stamp
    8.22 +build-stamp:
    8.23 +	dh_testdir
    8.24 +
    8.25 +	# Add here commands to compile the package.
    8.26 +	$(MAKE) build
    8.27 +
    8.28 +	touch build-stamp
    8.29 +
    8.30 +clean:
    8.31 +	dh_testdir
    8.32 +	dh_testroot
    8.33 +	rm -f build-stamp
    8.34 +
    8.35 +	# Add here commands to clean up after the build process.
    8.36 +	-$(MAKE) clean
    8.37 +
    8.38 +	dh_clean
    8.39 +
    8.40 +install: build
    8.41 +	dh_testdir
    8.42 +	dh_testroot
    8.43 +	dh_clean -k
    8.44 +	dh_installdirs
    8.45 +
    8.46 +	# Add here commands to install the package into debian/gentoo.
    8.47 +	$(MAKE) install DESTDIR=$(CURDIR)/debian/bday
    8.48 +
    8.49 +# Build architecture-independent files here.
    8.50 +binary-indep: build install
    8.51 +# We have nothing to do by default.
    8.52 +
    8.53 +# Build architecture-dependent files here.
    8.54 +binary-arch: build install
    8.55 +	dh_testdir
    8.56 +	dh_testroot
    8.57 +#      dh_installdebconf
    8.58 +	dh_installdocs
    8.59 +	dh_installexamples
    8.60 +#	dh_installmenu
    8.61 +#      dh_installlogrotate
    8.62 +#      dh_installemacsen
    8.63 +#      dh_installpam
    8.64 +#      dh_installmime
    8.65 +#      dh_installinit
    8.66 +#	dh_installcron
    8.67 +	dh_installman
    8.68 +#	dh_installinfo
    8.69 +#      dh_undocumented
    8.70 +	dh_installchangelogs ChangeLog
    8.71 +	dh_link
    8.72 +	dh_strip
    8.73 +	dh_compress
    8.74 +	dh_fixperms
    8.75 +#      dh_makeshlibs
    8.76 +	dh_installdeb
    8.77 +#      dh_perl
    8.78 +	dh_shlibdeps
    8.79 +	dh_gencontrol
    8.80 +	dh_md5sums
    8.81 +	dh_builddeb
    8.82 +
    8.83 +binary: binary-indep binary-arch
    8.84 +.PHONY: build clean binary-indep binary-arch binary install