From babaaceab2dc0c4760b9a776c46f60bae3f5f9d8 Mon Sep 17 00:00:00 2001
From: Ivan Rako <irako@nekkar.carnet.hr>
Date: Fri, 22 Apr 2011 13:26:47 +0200
Subject: [PATCH] novi debian/copyright i novi debian/rules

---
 debian/changelog |    2 +-
 debian/copyright |    6 ++--
 debian/rules     |   87 ++----------------------------------------------------
 3 files changed, 6 insertions(+), 89 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fbb0ff1..13489a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,7 @@ ocsinventory-agent-cn (1:1.1.1-1) stable; urgency=low
 
   * prva verzija paketa za squeeze
 
- -- Ivan Rako <Ivan.Rako@CARNet.hr>  Mon, 26 Oct 2009 15:22:53 +0100
+ -- Ivan Rako <Ivan.Rako@CARNet.hr>  Fri, 22 Apr 2011 13:26:26 +0200
 
 ocsinventory-agent-cn (1:0.0.9.2repack1-5) stable; urgency=low
 
diff --git a/debian/copyright b/debian/copyright
index e3933e7..28add9f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,7 @@
-This package is copyright (c) by CARNet <paketi@carnet.hr>.
+Copyright 2006 CARNet <paketi@carnet.hr>
 
-You are free to distribute this software under the terms of
-the GNU General Public License.
+You are free to distribute this software package under the terms of the
+GNU General Public License.
 
 On Debian systems, the complete text of the GNU General Public
 License can be found in the file /usr/share/common-licenses/GPL.
diff --git a/debian/rules b/debian/rules
index b41b855..cbe925d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,86 +1,3 @@
 #!/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.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-
-	touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-
-	# Add here commands to compile the package.
-	# $(MAKE)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-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/ocsinventory-agent-cn.
-	# $(MAKE) install DESTDIR=$(CURDIR)/debian/ocsinventory-agent-cn
-
-
-# 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_installchangelogs -k
-	dh_installdocs
-#	dh_installexamples
-	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman
-#	dh_link
-#	dh_strip
-#	dh_compress
-	dh_fixperms
-#	dh_perl
-#	dh_python
-#	dh_makeshlibs
-	dh_installdeb
-#	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+	dh $@
-- 
1.7.10.4