From 07c5ae6df24448559259de81eb8d0367553041a7 Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 12 Sep 2012 00:44:48 +0100 Subject: First attempt to get debhelper-less thing working --- debian/compat | 1 - debian/rules | 27 +++++++++++++++++++++++++++ debian/source/format | 1 - 3 files changed, 27 insertions(+), 2 deletions(-) delete mode 100644 debian/compat delete mode 100644 debian/source/format (limited to 'debian') diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7f8f011..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -7 diff --git a/debian/rules b/debian/rules index c30cbf5..18a0c50 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,31 @@ #!/usr/bin/make -f + +package = getxbook +DESTDIR = debian/$(package) + +build: + $(MAKE) + +binary: binary-arch binary-indep + +binary-arch: build + +binary-indep: build + $(MAKE) DESTDIR=$(DESTDIR) PREFIX=/usr + mkdir -p $(DESTDIR)/share/applications + cp -f $(package).desktop $(DESTDIR)/usr/share/applications/ + mkdir -p $(DESTDIR)/usr/lib/menu + cp -f menu $(DESTDIR)/usr/lib/menu/$(package).menu + # TODO: gzip docs + # TODO: strip binaries + dpkg-deb -b $(DESTDIR) ../ + +clean: + make clean + rm -r debian/$(package) + +.PHONY: build binary binary-arch binary-indep clean + # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) -- cgit v1.2.3