Commits

Palmer, 2E0EOL  committed 0ab9c08

Add debian/ directory. daybodep tool installed under /usr/bin/

  • Participants
  • Parent commits 0b046c6
  • Branches f/201205-palmer-debpkg

Comments (0)

Files changed (6)

File debian/changelog

+daybodep (0.5.1) stable; urgency=low
+
+  * Joey Armstrong: Don't compare word2 with NULL when looking for include
+    lines.  Fixes a crash.
+
+ -- David Duncan Ross Palmer <palmer@overchat.org>  Sun, 14 Nov 2010 20:51:29 +0000
+
+daybodep (0.5.0) stable; urgency=low
+
+  * DDRP: Fix bug in LookInclude( ) which made warnings about missing
+    dep "(" not being found.
+  * DDRP: Rename files to be DOS-compatible.
+  * DDRP: Create GNU autoconf based configure script(s)
+
+ -- David Duncan Ross Palmer <palmer@overchat.org>  Sun, 14 Nov 2010 20:51:29 +0000

File debian/compat

+7

File debian/control

+Source: daybodep
+Section: devel
+Priority: extra
+Maintainer: David Duncan Ross Palmer <palmer@overchat.org>
+Build-Depends: debhelper (>= 7), autoconf, autotools-dev, automake
+Standards-Version: 3.7.3
+Homepage: http://www.daybologic.co.uk/software.php?content=daybodep
+Vcs-Browser: https://bitbucket.org/daybologic/daybodep
+
+Package: daybodep
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Daybo Logic C/C++ dependency generator
+ A short and fast program which can automatically read C/C++ source and headers
+ to determine a list of dependencies which can then be written out to the project makefile.

File debian/daybodep.install

+debian/tmp/usr/bin/daybodep usr/bin
+/usr/bin

File debian/rules

+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	if [ -f configure ]; then \
+		mv -f configure configure.orig; \
+	fi
+	autoreconf -vi && \
+		./configure --prefix=/usr
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	if [ -f Makefile ]; then \
+		$(MAKE) clean; \
+	fi
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+# 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 daybodep
+
+daybodep:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+#	dh_installdocs
+#	dh_installexamples
+	dh_install -p$@
+#	dh_installmenu
+#	dh_installdebconf
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+#	dh_installman
+	dh_link -p$@
+	dh_strip -p$@
+#	dh_compress -p$@
+	dh_fixperms -p$@
+#	dh_perl
+	dh_makeshlibs -p$@
+	dh_installdeb -p$@
+	dh_shlibdeps -p$@
+	dh_gencontrol -p$@
+	dh_md5sums -p$@
+	dh_builddeb -p$@
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure daybodep