aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Joeris <white@debian.org>2006-08-25 13:26:03 +0000
committerSteffen Joeris <white@debian.org>2006-08-25 13:26:03 +0000
commit066354fec00687bc2325ae58963b7df2816caa01 (patch)
tree41497088b575189198ca5d87eccc63d80250a267
parent151059c514ce5e9eabbc27a6893528348d7bc6fd (diff)
downloadsitesummary-066354fec00687bc2325ae58963b7df2816caa01.tar.gz
sitesummary-066354fec00687bc2325ae58963b7df2816caa01.tar.bz2
sitesummary-066354fec00687bc2325ae58963b7df2816caa01.tar.xz
* change packaging to use makefile.mk for this makefile
* prepare the package to use debian/tmp and to build from svn
-rw-r--r--Makefile1
-rwxr-xr-xconfigure3
-rwxr-xr-xdebian/rules11
-rw-r--r--debian/sitesummary-client.install1
4 files changed, 10 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index d9f37f2..9e446cb 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,7 @@ install-server:
install-client:
$(INSTALL) -d $(DESTDIR)$(sbindir)
$(INSTALL) sitesummary-client $(DESTDIR)$(sbindir)
+ $(INSTALL) -d $(DESTDIR)$(pkgdatadir)/config
$(INSTALL) sitesummary-client.conf $(DESTDIR)$(pkgdatadir)/config
$(INSTALL) -d $(DESTDIR)$(collectordir)
diff --git a/configure b/configure
deleted file mode 100755
index 296ef78..0000000
--- a/configure
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-true
diff --git a/debian/rules b/debian/rules
index e8812de..6ae85be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,10 @@
#!/usr/bin/make -f
-
-include /usr/share/cdbs/1/class/autotools.mk
+
+include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-#include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+MAKE = make
+DEB_DESTDIR = debian/tmp
+
+common-install-indep::
+ $(MAKE) install DESTDIR=$(DEB_DESTDIR)
diff --git a/debian/sitesummary-client.install b/debian/sitesummary-client.install
index 2a0f769..23b8220 100644
--- a/debian/sitesummary-client.install
+++ b/debian/sitesummary-client.install
@@ -1,2 +1,3 @@
debian/tmp/usr/sbin
debian/tmp/usr/lib/sitesummary
+debian/tmp/usr/share/sitesummary/config