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 wrap: on
line diff
--- a/.hgignore	Wed Dec 19 01:26:56 2007 +0100
+++ b/.hgignore	Wed Dec 19 01:46:47 2007 +0100
@@ -5,3 +5,6 @@
 
 *.o
 bday
+Packages
+*.tar.gz
+ChangeLog
--- a/Makefile	Wed Dec 19 01:26:56 2007 +0100
+++ b/Makefile	Wed Dec 19 01:46:47 2007 +0100
@@ -5,7 +5,7 @@
 VERSION = 0.1
 NV=${NAME}-${VERSION}
 
-DOCS=COPYRIGHT ChangeLog TODO
+DOCS=COPYRIGHT COPYING ChangeLog TODO
 
 # paths
 PREFIX = /usr
@@ -28,7 +28,7 @@
 
 dist: build changelog
 	@mkdir -p ${NV}
-	@cp -f ${NAME} ${NAME}.1 Makefile ${DOCS} ${NV}
+	@cp -f ${NAME} ${SRC} ${NAME}.1 Makefile ${DOCS} ${NV}
 	@tar -czhof ${NV}.tar.gz ${NV}
 	@rm -rf ${NV}
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/changelog	Wed Dec 19 01:46:47 2007 +0100
@@ -0,0 +1,12 @@
+bday (0.1-2) unstable; urgency=low
+
+  * better content in debian/
+
+ -- markus schnalke <meillo@marmaro.de>  Wed, 19 Dec 2007 01:37:59 +0100
+
+
+bday (0.1-1) unstable; urgency=low
+
+  * Initial debian package
+
+ -- markus schnalke <meillo@marmaro.de>  Mon, 17 Dec 2007 09:59:02 +0100
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/compat	Wed Dec 19 01:46:47 2007 +0100
@@ -0,0 +1,1 @@
+5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/control	Wed Dec 19 01:46:47 2007 +0100
@@ -0,0 +1,19 @@
+Source: bday
+Section: misc
+Priority: extra
+Maintainer: markus schnalke <meillo@marmaro.de>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: bday
+Architecture: i386
+Depends: ${shlibs:Depends}, ${misc:Depends}, libc6-dev
+Description: birthday and event reminder
+ Given a list of the dates of various different events, works out and
+ displays a list of those which will come up in the next couple of
+ weeks. This was originally designed for birthdays, but can equally be
+ used for reminders about yearly events.
+ .
+ bday is heavily based upon birthday by Andy Mortimer.
+ .
+ Website: http://prog.marmaro.de
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/copyright	Wed Dec 19 01:46:47 2007 +0100
@@ -0,0 +1,15 @@
+This package was debianized by markus schnalke <meillo@marmaro.de> on
+Wed, 19 Dec 2007 01:37:19 +0100
+
+It was downloaded from http://prog.marmaro.de
+
+Upstream Author: markus schnalke <meillo@marmaro.de>
+
+This software is copyright (c) 2007 markus schnalke, 1994-1999 Andy Mortimer.
+(Andy Mortimer is the author of birthday, which is the base for bday.)
+
+You are free to distribute this software under the terms of
+the GNU General Public License  either version 2 of the License,
+or (at your option) any later version.
+On Debian systems, the complete text of the GNU General Public
+License can be found in the file `/usr/share/common-licenses/GPL-2'.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/docs	Wed Dec 19 01:46:47 2007 +0100
@@ -0,0 +1,3 @@
+COPYRIGHT
+COPYING
+TODO
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/rules	Wed Dec 19 01:46:47 2007 +0100
@@ -0,0 +1,81 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+#export DH_COMPAT=4
+
+CFLAGS = -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -O0
+else
+CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) build
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/gentoo.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/bday
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+#      dh_installdebconf
+	dh_installdocs
+	dh_installexamples
+#	dh_installmenu
+#      dh_installlogrotate
+#      dh_installemacsen
+#      dh_installpam
+#      dh_installmime
+#      dh_installinit
+#	dh_installcron
+	dh_installman
+#	dh_installinfo
+#      dh_undocumented
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#      dh_makeshlibs
+	dh_installdeb
+#      dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install