From: Ivan Rako Date: Fri, 22 Apr 2011 11:25:46 +0000 (+0200) Subject: novi debian/rules i novi debian/copyright X-Git-Tag: debian/4.2.6.p2-1^0 X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=commitdiff_plain;h=b220642b55c2ce32c33117c0f955c91f27df39b8;p=ntp-cn.git novi debian/rules i novi debian/copyright --- 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 . +Copyright 2006 CARNet -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/postinst b/debian/postinst index 62fb438..58fa1da 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,5 +1,7 @@ #!/bin/sh +set -e + [ "$1" = "configure" ] || exit 0 [ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx diff --git a/debian/rules b/debian/rules index ae6471a..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/ntp-cn. - # $(MAKE) install DESTDIR=$(CURDIR)/debian/ntp-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 $@