diff options
author | Manoj Srivastava <srivasta@debian.org> | 2016-01-25 00:03:37 -0800 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2016-01-25 00:03:37 -0800 |
commit | 8a416f7ef629d55974899249887089039c45444e (patch) | |
tree | 4332a8ea665aa38e9e0af37f8102f6457cfb8e06 | |
parent | 8e773d4efcc55e3da4c4d4e32944822e8fbc0ba2 (diff) |
New bugfixing releaseHEADdebian/3.0.3.6master
Bring up to standard build system.
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-rw-r--r-- | Makefile | 18 | ||||
-rw-r--r-- | debian/angband-doc.doc-base (renamed from debian/docentry) | 0 | ||||
-rw-r--r-- | debian/angband-doc.install | 2 | ||||
-rw-r--r-- | debian/angband-doc_faq1 (renamed from debian/docfaq1) | 0 | ||||
-rw-r--r-- | debian/angband-doc_faq2 (renamed from debian/docfaq2) | 0 | ||||
-rw-r--r-- | debian/changelog | 20 | ||||
-rw-r--r-- | debian/common/ChangeLog | 59 | ||||
-rw-r--r-- | debian/common/README | 78 | ||||
-rw-r--r-- | debian/common/archvars.mk | 118 | ||||
-rw-r--r-- | debian/common/automake.mk | 37 | ||||
-rwxr-xr-x | debian/common/checklibs | 74 | ||||
-rw-r--r-- | debian/common/copt.mk | 44 | ||||
-rw-r--r-- | debian/common/debconf.mk | 101 | ||||
-rw-r--r-- | debian/common/install_cmds.mk | 58 | ||||
-rw-r--r-- | debian/common/perlvars.mk | 27 | ||||
-rw-r--r-- | debian/common/pkgvars.mk | 99 | ||||
-rw-r--r-- | debian/common/targets.dot | 293 | ||||
-rw-r--r-- | debian/common/targets.mk | 525 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 12 | ||||
-rw-r--r-- | debian/copyright | 29 | ||||
-rw-r--r-- | debian/local-vars.mk | 52 | ||||
-rw-r--r-- | debian/local.mk | 64 | ||||
-rwxr-xr-x | debian/postinst | 211 | ||||
-rwxr-xr-x | debian/prerm | 124 | ||||
-rwxr-xr-x | debian/rules | 41 | ||||
-rw-r--r-- | debian/source/format | 1 |
27 files changed, 60 insertions, 2028 deletions
@@ -1,6 +1,6 @@ ############################ -*- Mode: Makefile -*- ########################### -## Makefile --- -## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) +## Makefile --- +## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) ## Created On : Thu Feb 19 11:47:01 2004 ## Created On Node : glaurung.internal.golden-gryphon.com ## Last Modified By : Manoj Srivastava @@ -8,12 +8,12 @@ ## Last Machine Used: glaurung.internal.golden-gryphon.com ## Update Count : 7 ## Status : Unknown, Use with caution! -## HISTORY : -## Description : -## +## HISTORY : +## Description : +## ############################################################################### -prefix= +prefix = $(DESTDIR) package = angband-doc LIBLOC = $(prefix)/var/games/angband/info @@ -24,7 +24,7 @@ install_file = install -p -o root -g root -m 644 install_program= install -p -o root -g root -m 755 make_directory = install -p -d -o root -g root -m 755 -all build: +all build: @echo nothing to do for build install: @@ -34,9 +34,9 @@ install: find $(LIBLOC) -type d -name .arch-ids -print0 | xargs -0r rm -rf (cd Help-Page; tar cf - *) | (cd $(DOCDIR); umask 000; tar xpf -) find $(DOCDIR) -type d -name .arch-ids -print0 | xargs -0r rm -rf - gzip -9fq $(DOCDIR)/angfaq*.txt + gzip -n9fq $(DOCDIR)/angfaq*.txt chown -R root:root $(DOCDIR) $(LIBLOC); chmod -R u+w,go=rX $(DOCDIR) $(LIBLOC); clean distclean: - @echo nothing to do for clean
\ No newline at end of file + @echo nothing to do for clean diff --git a/debian/docentry b/debian/angband-doc.doc-base index 22a4092..22a4092 100644 --- a/debian/docentry +++ b/debian/angband-doc.doc-base diff --git a/debian/angband-doc.install b/debian/angband-doc.install new file mode 100644 index 0000000..4c354c7 --- /dev/null +++ b/debian/angband-doc.install @@ -0,0 +1,2 @@ +debian/angband-doc_faq1 usr/share/doc-base +debian/angband-doc_faq2 usr/share/doc-base diff --git a/debian/docfaq1 b/debian/angband-doc_faq1 index 5bafcd1..5bafcd1 100644 --- a/debian/docfaq1 +++ b/debian/angband-doc_faq1 diff --git a/debian/docfaq2 b/debian/angband-doc_faq2 index 0bf99f1..0bf99f1 100644 --- a/debian/docfaq2 +++ b/debian/angband-doc_faq2 diff --git a/debian/changelog b/debian/changelog index 9b0a935..51fdf6d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +angband-doc (3.0.3.6) unstable; urgency=low + + * New bug fixing version + * Update the VCS fields in debian/control to use the HTTPS protocol + * Update the standards version to 3.9.6. No changes needed. + * Bug fix: "Wrong upstream Homepage URL", thanks to Matanya Moses + (Closes: #738768). + * Bug fix: "please make the build reproducible", thanks to Chris Lamb + Move the packaging over to dh instead. (Closes: #777729). + + -- Manoj Srivastava <srivasta@debian.org> Sun, 24 Jan 2016 23:50:25 -0800 + angband-doc (3.0.3.5) unstable; urgency=low * New bug fixing release @@ -55,7 +67,7 @@ angband-doc (2.93.2) unstable; urgency=low * use which instead of command -v * No longer install /usr/doc symlink. Upgraded to the latest policy - version. + version. -- Manoj Srivastava <srivasta@debian.org> Mon, 11 Nov 2002 23:06:40 -0600 @@ -79,7 +91,7 @@ angband-doc (2.83.7) frozen unstable; urgency=low angband-doc (2.83.6) frozen unstable; urgency=low * Fixed an upgrade bug when /usr/doc happens to be a symlink, and does - not point to /usr/share/doc. A couple of people were bitten by this. + not point to /usr/share/doc. A couple of people were bitten by this. closes: Bug#58121, Bug#58123 -- Manoj Srivastava <srivasta@debian.org> Mon, 28 Feb 2000 22:27:05 -0600 @@ -90,7 +102,7 @@ angband-doc (2.83.5) frozen unstable; urgency=low release maintainer: * The postinst was vulnerable to being affected by symlinks (if, for some reason, the prerm failed). This has happended for latex2html; and - created a grave bug. + created a grave bug. * There was a bug in the postinst in a case statement, that caused installation to fail for certain situations. * Also fixed an lintian warning @@ -101,7 +113,7 @@ angband-doc (2.83.4) unstable; urgency=low * The postinst was vulnerable to being affected by symlinks (if, for some reason, the prerm failed). This has happended for latex2html; and - created a grave bug. + created a grave bug. * There was a bug in the postinst in a case statement, that caused installation to fail for certain situations. * Also fixed an lintian warning diff --git a/debian/common/ChangeLog b/debian/common/ChangeLog deleted file mode 100644 index 15b5eed..0000000 --- a/debian/common/ChangeLog +++ /dev/null @@ -1,59 +0,0 @@ -2008-02-06 Manoj Srivastava <srivasta@debian.org> - - * copt.mk: - srivasta@debian.org--lenny/skeleton-make-rules--main--0.1--patch-4 - The cross building support in Debian has been rewritten - to stop overriding the CC variable to $(MAKE) in order - to correctly support those packages that build internal - tools with the native compiler during the build. This - means that other packages that assume that CC will be - overridden by the cross-compiling build scripts now fail - to build. The patch is simply to set CC to - $(DEB_HOST_GNU_TYPE)-gcc only if a cross-build is - detected. - -2007-10-09 Manoj Srivastava <srivasta@debian.org> - - * targets.mk: - srivasta@debian.org--lenny/skeleton-make-rules--main--0.1--patch-1 - fix dependency tree for targets, allow parralel - compilatoin. Many changes, thanks to dot. - -2007-09-20 Manoj Srivastava <srivasta@debian.org> - - * targets.mk (stamp-clean): - srivasta@debian.org--lenny/skeleton-make-rules--main--0.1--base-0 - make clean not remove zero sized files. removed the part - that cleaned out zero sized files; since there are uses - for zero sized files (like, to nuke out files in - upstream sources and not inflate the diff. Any zero - sized files can still be nuked in the local.mk file. - -2006-10-02 Manoj Srivastava <srivasta@debian.org> - - * checklibs: - srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-15 - New file, to detect if there are unneeded library - dependencies - -2006-10-01 Manoj Srivastava <srivasta@debian.org> - - * archvars.mk (doit): - srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-14 - Add a macro to execute $(shell ...) macos verbosely to - help debugging. - -2006-09-15 Manoj Srivastava <srivasta@debian.org> - - * targets.mk (stamp-clean): - srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-13 - Exclude version control directories from the generic - clean command. - - -2006-08-23 Manoj Srivastava <srivasta@debian.org> - - * pkgvars.mk (DEB_DISTRIBUTION): - srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-6 - Add variable that contains the distribution information - diff --git a/debian/common/README b/debian/common/README deleted file mode 100644 index e4a57c8..0000000 --- a/debian/common/README +++ /dev/null @@ -1,78 +0,0 @@ -# This file provides a quick overview of this build system. The idea is -# to convert ./debian/rules into a framework, which abstracts most of -# the work required to create a Debian package into this common set of -# make snippets. - -# The rules file would look like this: - -## Include dpkg-architecture generated variables -# This make snippet uses dpkg-architecture to set the various -# DEB_BUILD* and DEB_HOST* variables. It also adds a couple of DEBUG -# macros for use in the rules file. -include debian/common/archvars.mk - -## variables useful for perl packages -# This sets things like the installed location of the private lib, -# arch dependent lib, and vendor library directories. -include debian/common/perlvars.mk - -## Install commands -# This sets the convenience macros install_{file,script,program} and -# a make directory macro, all run as root, for the install and binary -# targets. It also includes a macro to create the md5sum for -# installed files. -include debian/common/install_cmds.mk - -## Per package variable settings. -# This file sets the Make variables on a per package basis. Things -# like include files, C, C++, and LD flags are set here, as well as -# installation paths or, really, anything else that would be needed -# during packaging operations -include debian/local-vars.mk - -## Setting C compiler flags. -# This file takes care of setting C compiler flags, setting the -# compiler if a cross compilation effort is detected, and either -# arranges for binaries to be stripped or not based on -# DEB_BUILD_OPTIONS. -include debian/common/copt.mk - -## Set automake configuration flags -# This file sets confflags variable with the proper --host and -# --build options if it detects a cross compilation effort underway. -include debian/common/automake.mk - -# Set up the default target. -all: - @echo nothing to be done - -## Include the common targets -# This file sets up the flow of control during a Debian package build -# process, taking into account policy requirements (mandatory -# targets, ordering targets). It sets up rules for each package found -# in ./debian/control file in the package, and arranges package build -# to follow the order of configuration, building, installation, and -# binary package creation (and of course, clean). - -# The details of the targets can be seen visually by running dot on -# the accompanying targets.dot file. In the figure, the legend is: -# Nodes attributes: -# filled == Work target (most work is done in dependencies added -# to these targets). These are the targets referred to -# in the local.mk file -# Octagon == Phony target -# Oval == Real target based on a time stamp -# Double lines denote a mandatory target -# -# Edge attributes: A Red line indicates the target is called using -# $(MAKE) -f ./debian/rules <target>. So the targets connected by the -# red lines are run after all the dependencies have been updated, but -# before anything else is done. - -include debian/common/targets.mk - -## The bulk of packaging -# This file adds dependencies to the double-colon rules set up in -# targets.mk above, and perform the bulk of the packaging. -include debian/local.mk - diff --git a/debian/common/archvars.mk b/debian/common/archvars.mk deleted file mode 100644 index 49a9fa9..0000000 --- a/debian/common/archvars.mk +++ /dev/null @@ -1,118 +0,0 @@ -############################ -*- Mode: Makefile -*- ########################### -## archvars.mk --- -## Author : Manoj Srivastava ( srivasta@golden-gryphon.com ) -## Created On : Sat Nov 15 02:40:56 2003 -## Created On Node : glaurung.green-gryphon.com -## Last Modified By : Manoj Srivastava -## Last Modified On : Tue Nov 16 23:36:15 2004 -## Last Machine Used: glaurung.internal.golden-gryphon.com -## Update Count : 5 -## Status : Unknown, Use with caution! -## HISTORY : -## Description : calls dpkg-architecture and sets up various arch -## related variables -## -## arch-tag: e16dd848-0fd6-4c0e-ae66-bef20d1f7c63 -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -## -############################################################################### - - -DPKG_ARCH := dpkg-architecture - -ifeq ($(strip $(KPKG_ARCH)),um) - MAKING_VIRTUAL_IMAGE:=YES -endif -ifeq ($(strip $(KPKG_ARCH)),xen) - MAKING_VIRTUAL_IMAGE:=YES -endif - -ifneq ($(strip $(CONFIG_UM)),) - MAKING_VIRTUAL_IMAGE:=YES - KPKG_ARCH=um -endif - -ifneq ($(strip $(CONFIG_XEN)),) - MAKING_VIRTUAL_IMAGE:=YES - ifneq ($(strip $(CONFIG_X86_XEN)$(CONFIG_X86_64_XEN)),) - KPKG_SUBARCH=xen - else - KPKG_ARCH=xen - ifeq ($(strip $(CONFIG_XEN_PRIVILEGED_GUEST)),) - KPKG_SUBARCH=xenu - else - KPKG_SUBARCH=xen0 - endif - endif -endif - -ifdef KPKG_ARCH - ifeq ($(strip $(MAKING_VIRTUAL_IMAGE)),) - ifneq ($(CROSS_COMPILE),-) - ha:=-a$(KPKG_ARCH) - endif - endif -endif - -# set the dpkg-architecture vars -export DEB_BUILD_ARCH := $(shell $(DPKG_ARCH) -qDEB_BUILD_ARCH) -export DEB_BUILD_GNU_CPU := $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_CPU) -export DEB_BUILD_GNU_SYSTEM:= $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_SYSTEM) -export DEB_BUILD_GNU_TYPE := $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_TYPE) -export DEB_HOST_ARCH := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_ARCH) -export DEB_HOST_ARCH_OS := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_ARCH_OS \ - 2>/dev/null|| true) -export DEB_HOST_ARCH_CPU := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_ARCH_CPU \ - 2>/dev/null|| true) -export DEB_HOST_GNU_CPU := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_CPU) -export DEB_HOST_GNU_SYSTEM := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_SYSTEM) -export DEB_HOST_GNU_TYPE := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_TYPE) - -# arrgh. future proofing -ifeq ($(DEB_HOST_GNU_SYSTEM), linux) - DEB_HOST_GNU_SYSTEM=linux-gnu -endif -ifeq ($(DEB_HOST_ARCH_OS),) - ifeq ($(DEB_HOST_GNU_SYSTEM), linux-gnu) - DEB_HOST_ARCH_OS := linux - endif - ifeq ($(DEB_HOST_GNU_SYSTEM), kfreebsd-gnu) - DEB_HOST_ARCH_OS := kfreebsd - endif -endif - -REASON = @if [ -f $@ ]; then \ - echo "====== making $(notdir $@) because of $(notdir $?) ======";\ - else \ - echo "====== making target $@ [new prereqs: $(notdir $?)]======"; \ - fi - -OLDREASON = @if [ -f $@ ]; then \ - echo "====== making $(notdir $@) because of $(notdir $?) ======";\ - else \ - echo "====== making (creating) $(notdir $@) ======"; \ - fi - -LIBREASON = @echo "====== making $(notdir $@)($(notdir $%))because of $(notdir $?)======" - - -# macro outputing $(1) if DEBUG_DEBIAN_RULES is set, and resolving it -# in all cases usage $(call doit,some shell command) -doit = $(if $(DEBUG_DEBIAN_RULES),$(warning DEBUG: $(1)))$(shell $(1)) - -#Local variables: -#mode: makefile -#End: diff --git a/debian/common/automake.mk b/debian/common/automake.mk deleted file mode 100644 index 5a09d02..0000000 --- a/debian/common/automake.mk +++ /dev/null @@ -1,37 +0,0 @@ -############################ -*- Mode: Makefile -*- ########################### -## automake.mk --- -## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) -## Created On : Sat Nov 15 02:47:23 2003 -## Created On Node : glaurung.green-gryphon.com -## Last Modified By : Manoj Srivastava -## Last Modified On : Sat Nov 15 02:47:53 2003 -## Last Machine Used: glaurung.green-gryphon.com -## Update Count : 1 -## Status : Unknown, Use with caution! -## HISTORY : -## Description : -## -## arch-tag: 1fabe69b-7cc8-4ecc-9411-bc5906b19857 -## -############################################################################### - -AUTOCONF_VERSION:=$(shell if [ -e configure ]; then \ - grep "Generated automatically using autoconf" \ - configure | sed -e 's/^.*autoconf version //g'; \ - fi) -HAVE_NEW_AUTOMAKE:=$(shell if [ "X$(AUTOCONF_VERSION)" != "X2.13" ]; then \ - echo 'YES' ; fi) - -ifneq ($(strip $(HAVE_NEW_AUTOMAKE)),) - ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) - confflags += --build $(DEB_BUILD_GNU_TYPE) - else - confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) - endif -else - ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) - confflags += $(DEB_HOST_GNU_TYPE) - else - confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) - endif -endif diff --git a/debian/common/checklibs b/debian/common/checklibs deleted file mode 100755 index 1098e20..0000000 --- a/debian/common/checklibs +++ /dev/null @@ -1,74 +0,0 @@ -#! /bin/sh -# -*- Mode: Sh -*- -# checklibs.sh --- -# Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) -# Created On : Fri Sep 29 15:36:22 2006 -# Created On Node : glaurung.internal.golden-gryphon.com -# Last Modified By : Manoj Srivastava -# Last Modified On : Fri Sep 29 22:53:27 2006 -# Last Machine Used: glaurung.internal.golden-gryphon.com -# Update Count : 43 -# Status : Unknown, Use with caution! -# HISTORY : -# Description : -# -# arch-tag: 8ba11489-77fa-45a0-92c4-9c5b162ee119 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# - -# Make sure we abort on error -set -e -progname="$(basename \"$0\")" - -trap 'rm -f search_patterns.txt;' ALRM HUP INT PIPE TERM ABRT FPE BUS QUIT SEGV ILL EXIT - -# Find all undefined symbols in all ELF objects in this tree -readelf -s -D -W $(find . -type f -print0 | xargs -0r file | grep " ELF" | \ - awk '{print $1}' | sed -e 's/:$//') | grep UND | grep -v LOCAL | - perl -ple 's/.*\s(\S+)\s*$/\^$1\$/g' | sort -u > search_patterns.txt; - -# Find all the libraries needed in this tree -objdump -T --private-headers $(find . -type f -print0 | xargs -0r file | grep " ELF" | \ - awk '{print $1}' | sed -e 's/:$//') | grep NEEDED | sort -u | awk '{print $2}' | - while read lib; do - # For each library, see where it lives o the file system - LIB= - for library_dir in "/lib" "/usr/lib" $EXTRA_LIBRARY_PATHS; do - if [ -e "$library_dir/$lib" ]; then - LIB="$library_dir/$lib"; - break - fi - done - if [ -z "$LIB" ]; then - echo >&2 "Can't find $lib" - continue - fi - # If we fond the library, find what symbols it defines, and if these symbols - # are some that we need - if readelf -s -D -W $LIB | grep -v UND | perl -ple 's/.*\s(\S+)\s*$/$1/g' | \ - sort -u | grep -q -f search_patterns.txt ; then - # Library provides at least some symbols we need - if [ -n "$DEBUG" ]; then echo "Found $LIB"; fi - else - # Library does not provide any symbols we need - echo "$LIB" ; - fi -done - -# Get rid of the intermediate file -rm -f search_patterns.txt; -exit 0 - diff --git a/debian/common/copt.mk b/debian/common/copt.mk deleted file mode 100644 index e081ff0..0000000 --- a/debian/common/copt.mk +++ /dev/null @@ -1,44 +0,0 @@ -############################ -*- Mode: Makefile -*- ########################### -## copt.mk --- -## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) -## Created On : Sat Nov 15 02:48:40 2003 -## Created On Node : glaurung.green-gryphon.com -## Last Modified By : Manoj Srivastava -## Last Modified On : Sat Nov 15 02:49:07 2003 -## Last Machine Used: glaurung.green-gryphon.com -## Update Count : 1 -## Status : Unknown, Use with caution! -## HISTORY : -## Description : -## -## arch-tag: a0045c20-f1b3-4852-9a4b-1a33ebd7c1b8 -## -############################################################################### - -PREFIX := /usr -# set CC to $(DEB_HOST_GNU_TYPE)-gcc only if a cross-build is detected -ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) - CC=$(DEB_HOST_GNU_TYPE)-gcc -else - CC = cc -endif - -# Policy 10.1 says to make this the default -CFLAGS = -Wall -g - -ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - -## ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) -## endif - -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - STRIP += -s - LDFLAGS += -s - INT_INSTALL_TARGET = install -else - INT_INSTALL_TARGET = install -endif diff --git a/debian/common/debconf.mk b/debian/common/debconf.mk deleted file mode 100644 index 4ec3d05..0000000 --- a/debian/common/debconf.mk +++ /dev/null @@ -1,101 +0,0 @@ -############################ -*- Mode: Makefile -*- ########################### -## debconf.mk --- -## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) -## Created On : Fri Mar 12 11:11:31 2004 -## Created On Node : glaurung.internal.golden-gryphon.com -## Last Modified By : Manoj Srivastava -## Last Modified On : Mon Apr 11 13:19:10 2005 -## Last Machine Used: glaurung.internal.golden-gryphon.com -## Update Count : 20 -## Status : Unknown, Use with caution! -## HISTORY : -## Description : helps with using debconf -## -## arch-tag: 32b933a9-05ad-4c03-97a8-8644745b832a -## -############################################################################### - -# The idea behind this scheme is that the maintainer (or whoever's -# building the package for upload to unstable) has to build on a -# machine with po-debconf installed, but nobody else does. - -# When building with po-debconf, a format 1 (no encoding specifications, -# woody-compatible) debian/templates file is generated in the clean target -# and shipped in the source package, but a format 2 (UTF8-encoded, -# woody-incompatible) debian/templates file is generated in binary-arch -# for the binary package only. - -# When building without po-debconf, the binary package simply reuses the -# woody-compatible debian/templates file that was produced by the clean -# target of the maintainer's build. - -# Also, make sure that debian/control has ${debconf-depends} in the -# appropriate Depends: line., and use the following in the binary -# target: -# dpkg-gencontrol -V'debconf-depends=debconf (>= $(MINDEBCONFVER))' -# - -# WARNING!! You need to create the templates.master file before this all works. - -ifeq (,$(wildcard /usr/bin/po2debconf)) - PO2DEBCONF := no - MINDEBCONFVER := 0.5 -else - PO2DEBCONF := yes - MINDEBCONFVER := 1.2.0 -endif - - -# Hack for woody compatibility. This makes sure that the -# debian/templates file shipped in the source package doesn't specify -# encodings, which woody's debconf can't handle. If building on a -# system with po-debconf installed the binary-arch target will -# generate a better version for sarge. Only do this if there is a -# templates.master, or else the debian/templates file can get -# damamged. -ifeq ($(PO2DEBCONF),yes) - ifeq (,$(wildcard debian/templates.master)) -define CREATE_COMPATIBLE_TEMPLATE - echo Not modifying templates -endef - else -define CREATE_COMPATIBLE_TEMPLATE - echo 1 > debian/po/output - po2debconf debian/templates.master > debian/templates - rm -f debian/po/output -endef - endif -else -define CREATE_COMPATIBLE_TEMPLATE - echo Not modifying templates -endef -endif - - -ifeq ($(PO2DEBCONF),yes) - ifeq (,$(wildcard debian/templates.master)) -define INSTALL_TEMPLATE - echo using old template -endef - else -define INSTALL_TEMPLATE - po2debconf debian/templates.master > debian/templates -endef - endif -else -define INSTALL_TEMPLATE - echo using old template -endef -endif - -# the tool podebconf-report-po is also a great friend to have in such -# circumstances -define CHECKPO - @for i in debian/po/*.po; do \ - if [ -f $$i ]; then \ - echo \"Checking: $$i\"; \ - msgmerge -U $$i debian/po/templates.pot; \ - msgfmt -o /dev/null -c --statistics $$i; \ - fi; \ - done -endef diff --git a/debian/common/install_cmds.mk b/debian/common/install_cmds.mk deleted file mode 100644 index 33b422d..0000000 --- a/debian/common/install_cmds.mk +++ /dev/null @@ -1,58 +0,0 @@ -######################### -*- Mode: Makefile-Gmake -*- ######################## -## install_cmds.mk --- -## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) -## Created On : Fri Jun 16 14:40:20 2006 -## Created On Node : glaurung.internal.golden-gryphon.com -## Last Modified By : Manoj Srivastava -## Last Modified On : Wed Sep 6 11:43:05 2006 -## Last Machine Used: glaurung.internal.golden-gryphon.com -## Update Count : 9 -## Status : Unknown, Use with caution! -## HISTORY : -## Description : -## -## arch-tag: a38b6a93-2539-4034-9060-ae94d5c8a071 -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -## -############################################################################### - -# install commands -INSTALL = install -ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif -install_file = $(INSTALL) -p -o root -g root -m 644 -install_program = $(INSTALL) -p -o root -g root -m 755 -install_script = $(INSTALL) -p -o root -g root -m 755 -make_directory = $(INSTALL) -p -d -o root -g root -m 755 - -define create_md5sum - create_md5sums_fn () { \ - cd $$1 ; \ - find . -type f \ - ! -regex './DEBIAN/.*' \ - ! -regex './etc/.*' $(EXTRA_MD5SUM_EXCLUDE) \ - -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums ; \ - if [ -z "DEBIAN/md5sums" ] ; then \ - rm -f "DEBIAN/md5sums" ; \ - fi ; \ - } ; \ - create_md5sums_fn -endef - -#Local variables: -#mode: makefile -#End: diff --git a/debian/common/perlvars.mk b/debian/common/perlvars.mk deleted file mode 100644 index 4f3edaf..0000000 --- a/debian/common/perlvars.mk +++ /dev/null @@ -1,27 +0,0 @@ -############################ -*- Mode: Makefile -*- ########################### -## perlvars.mk --- -## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) -## Created On : Sat Nov 15 02:55:47 2003 -## Created On Node : glaurung.green-gryphon.com -## Last Modified By : Manoj Srivastava -## Last Modified On : Sat Dec 13 13:50:58 2003 -## Last Machine Used: glaurung.green-gryphon.com -## Update Count : 3 -## Status : Unknown, Use with caution! -## HISTORY : -## Description : -## -## arch-tag: a97a01ba-d08d-404d-aa81-572717c03e6c -## -############################################################################### - -# Perl variables -PERL = /usr/bin/perl - -INSTALLPRIVLIB = $(TMPTOP)/$(shell \ - perl -e 'use Config; print "$$Config{'installprivlib'}\n";') -INSTALLARCHLIB = $(TMPTOP)/$(shell \ - perl -e 'use Config; print "$$Config{'installarchlib'}\n";') -INSTALLVENDORLIB =$(TMPTOP)/$(shell \ - perl -e 'use Config; print "$$Config{'vendorlibexp'}\n";') -CONFIG = INSTALLDIRS=vendor diff --git a/debian/common/pkgvars.mk b/debian/common/pkgvars.mk deleted file mode 100644 index 06b94e6..0000000 --- a/debian/common/pkgvars.mk +++ /dev/null @@ -1,99 +0,0 @@ -############################ -*- Mode: Makefile -*- ########################### -## pkgvars.mk --- -## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) -## Created On : Sat Nov 15 02:56:30 2003 -## Created On Node : glaurung.green-gryphon.com -## Last Modified By : Manoj Srivastava -## Last Modified On : Thu Jun 15 12:05:46 2006 -## Last Machine Used: glaurung.internal.golden-gryphon.com -## Update Count : 11 -## Status : Unknown, Use with caution! -## HISTORY : -## Description : This is what allows us toseparate out the top level -## targets, by determining which packages needto be built. -## -## arch-tag: 75fcc720-7389-4eaa-a7ac-c556d3eac331 -## -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -## -############################################################################### - -# The maintainer information. -maintainer := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Maintainer: | \ - sed 's/^Maintainer: *//') -email := srivasta@debian.org - -# Priority of this version (or urgency, as dchanges would call it) -urgency := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Urgency: | \ - sed 's/^Urgency: *//') - -# Common useful variables -DEB_SOURCE_PACKAGE := $(strip $(shell egrep '^Source: ' debian/control | \ - cut -f 2 -d ':')) -DEB_VERSION := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \ - egrep '^Version:' | cut -f 2 -d ' ')) -DEB_ISNATIVE := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \ - perl -ne 'print if (m/^Version:/g && ! m/^Version:.*\-/);')) -DEB_DISTRIBUTION := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \ - egrep '^Distribution:' | cut -f 2 -d ' ')) - -DEB_PACKAGES := $(shell perl -e ' \ - $$/=""; \ - while(<>){ \ - $$p=$$1 if m/^Package:\s*(\S+)/; \ - die "duplicate package $$p" if $$seen{$$p}; \ - $$seen{$$p}++; print "$$p " if $$p; \ - }' debian/control ) - -DEB_INDEP_PACKAGES := $(shell perl -e ' \ - $$/=""; \ - while(<>){ \ - $$p=$$1 if m/^Package:\s*(\S+)/; \ - die "duplicate package $$p" if $$seen{$$p}; \ - $$seen{$$p}++; \ - $$a=$$1 if m/^Architecture:\s*(\S+)/m; \ - next unless ($$a eq "all"); \ - print "$$p " if $$p; \ - }' debian/control ) - -DEB_ARCH_PACKAGES := $(shell perl -e ' \ - $$/=""; \ - while(<>){ \ - $$p=$$1 if m/^Package:\s*(\S+)/; \ - die "duplicate package $$p" if $$seen{$$p}; \ - $$seen{$$p}++; \ - $$c=""; \ - if (/^Architecture:\s*(.*?)\s*$$/sm) { \ - @a = split /\s+/, $$1 }; \ - for my $$b (@a) { \ - next unless ($$b eq "$(DEB_HOST_ARCH)" || \ - $$b eq "any"); \ - $$c="$$p"; \ - } \ - print "$$c " if $$c; \ - }' debian/control ) - -# This package is what we get after removing the psuedo dirs we use in rules -package = $(notdir $@) - -ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) - NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) - MAKEFLAGS += -j$(NUMJOBS) -endif - -#Local variables: -#mode: makefile -#End: diff --git a/debian/common/targets.dot b/debian/common/targets.dot deleted file mode 100644 index 6b2990c..0000000 --- a/debian/common/targets.dot +++ /dev/null @@ -1,293 +0,0 @@ -strict digraph Targets { - //ranksep=0.750; - //nodesep=0.500; - - // Nodes attributes: filled == Double-colon targt (most work is done here) - // Oval == Target based on a time stamp - // Octagon == Phony target - // Double lines denote a mandatory target (periperies=2) - - // Edge attributes: Dotted line indicates the target is called using $(MAKE) - - "debian/stamp/dummy-config-common" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/pre-config-common" [ style="filled", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-pre-config-common" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/pre-config-arch" [ style="filled", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-pre-config-arch" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/pre-config-indep" [ style="filled", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-pre-config-indep" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/CONFIG/foo-arch" [ style="filled", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/CONFIG/bar-indep" [ style="filled", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/dep-configure-arch" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/dep-configure-indep" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-configure-arch" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-configure-indep" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10] - "configure-arch" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - "configure-indep" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - "configure" [ style="bold", color="#DEE3FF", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - - "debian/stamp/pre-build-common" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/pre-build-arch" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-pre-build-arch" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/pre-build-indep" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-pre-build-indep" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/BUILD/foo-arch" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/BUILD/bar-indep" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/dep-build-arch" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/dep-build-indep" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-build-arch" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-build-indep" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "build-arch" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] - "build-indep" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] - "build" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] - "debian/stamp/post-build-arch" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/post-build-indep" [ style="filled", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-post-build-arch" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-post-build-indep" [ style="bold", color="#74A5ED", fontcolor="NavyBlue", fontsize=10] - - "debian/stamp/pre-inst-common" [ style="filled", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/pre-inst-arch" [ style="filled", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-pre-inst-arch" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/pre-inst-indep" [ style="filled", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-pre-inst-indep" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/INST/foo-arch" [ style="filled", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/INST/bar-indep" [ style="filled", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/dep-install-arch" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/dep-install-indep" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-install-arch" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-install-indep" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10] - "install-arch" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - "install-indep" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - "install" [ style="bold", color="#F8DFDB", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - - "debian/stamp/pre-bin-common" [ style="filled", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/pre-bin-arch" [ style="filled", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-pre-bin-arch" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/pre-bin-indep" [ style="filled", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-pre-bin-indep" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/BIN/foo-arch" [ style="filled", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/BIN/bar-indep" [ style="filled", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/dep-binary-arch" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/dep-binary-indep" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-binary-arch" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] - "debian/stamp/do-binary-indep" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10] - "binary-arch" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] - "binary-indep" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] - "binary" [ style="bold", color="#CEFFC0", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] - - - "CLN-common" [ style="filled" , color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - "CLN-arch" [ style="filled" , color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - "CLN-indep" [ style="filled" , color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - "CLEAN/foo-arch" [ style="filled" , color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - "CLEAN/bar-indep" [ style="filled" , color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - "clean-arch" [ style="bold", color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - "clean-indep" [ style="bold", color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon"] - "clean" [ style="bold", color="#E2E8C3", fontcolor="NavyBlue", fontsize=10, shape="octagon", peripheries=2] - - - "CLN-common" -> "CLN-arch" [dir=back] - "CLN-common" -> "CLN-indep" [dir=back] - "CLN-arch" -> "CLEAN/foo-arch" [dir=back] - "CLN-indep" -> "CLEAN/bar-indep" [dir=back] - "CLN-arch" -> "clean-arch" [dir=back] - "CLEAN/foo-arch" -> "clean-arch" [dir=back] - "CLN-indep" -> "clean-indep" [dir=back] - "CLEAN/bar-indep" -> "clean-indep" [dir=back] - "clean-indep" -> "clean" [dir=back] - "clean-arch" -> "clean" [dir=back] - -// "debian/stamp/dummy-config-common" -> "debian/stamp/pre-config-common" [dir=back] - "debian/stamp/dummy-config-common" -> "debian/stamp/do-pre-config-common" [dir=back] - "debian/stamp/pre-config-common" -> "debian/stamp/do-pre-config-common" [dir=back color="Red"] -// "CUSTOM-1" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-1" -> "debian/stamp/pre-config-common" [dir=back] -// "debian/stamp/do-pre-config-common" -> "debian/stamp/pre-config-arch" [dir=back] - "debian/stamp/do-pre-config-common" -> "debian/stamp/do-pre-config-arch" [dir=back] - "debian/stamp/pre-config-arch" -> "debian/stamp/do-pre-config-arch" [dir=back color="Red"] -// "CUSTOM-2" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-2" -> "debian/stamp/pre-config-arch" [dir=back] -// "debian/stamp/do-pre-config-common" -> "debian/stamp/pre-config-indep" [dir=back] - "debian/stamp/do-pre-config-common" -> "debian/stamp/do-pre-config-indep" [dir=back] - "debian/stamp/pre-config-indep" -> "debian/stamp/do-pre-config-indep" [dir=back color="Red"] -// "CUSTOM-3" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-3" -> "debian/stamp/pre-config-indep" [dir=back] -// "debian/stamp/do-pre-config-arch" -> "debian/stamp/CONFIG/foo-arch" [dir=back] -// "debian/stamp/do-pre-config-indep" -> "debian/stamp/CONFIG/bar-indep" [dir=back] -// "debian/stamp/do-pre-config-arch" -> "debian/stamp/dep-configure-arch" [dir=back] - "debian/stamp/CONFIG/foo-arch" -> "debian/stamp/dep-configure-arch" [dir=back] -// "debian/stamp/do-pre-config-indep" -> "debian/stamp/dep-configure-indep" [dir=back] - "debian/stamp/CONFIG/bar-indep" -> "debian/stamp/dep-configure-indep" [dir=back] - - "debian/stamp/do-pre-config-arch" -> "debian/stamp/do-configure-arch" [dir=back] - "debian/stamp/dep-configure-arch" -> "debian/stamp/do-configure-arch" [dir=back color="Red"] -// "CUSTOM-4" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-4" -> "debian/stamp/CONFIG/foo-arch" [dir=back] - "debian/stamp/do-pre-config-indep" -> "debian/stamp/do-configure-indep" [dir=back] - "debian/stamp/dep-configure-indep" -> "debian/stamp/do-configure-indep" [dir=back color="Red"] -// "CUSTOM-5" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-5" -> "debian/stamp/CONFIG/bar-indep" [dir=back] - "debian/stamp/do-configure-arch" -> "configure-arch" [dir=back] - "debian/stamp/do-configure-indep" -> "configure-indep" [dir=back] - "debian/stamp/do-configure-arch" -> "configure" [dir=back] - "debian/stamp/do-configure-indep" -> "configure" [dir=back] - -// "debian/stamp/do-configure-arch" -> "debian/stamp/pre-build-arch" [dir=back] - "debian/stamp/do-configure-arch" -> "debian/stamp/do-pre-build-arch" [dir=back] - "debian/stamp/pre-build-common" -> "debian/stamp/do-pre-build-arch" [dir=back color="Red"] -// "CUSTOM-6" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-6" -> "debian/stamp/pre-build-common" [dir=back] - "debian/stamp/pre-build-arch" -> "debian/stamp/do-pre-build-arch" [dir=back color="Red"] -// "CUSTOM-7" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-7" -> "debian/stamp/pre-build-arch" [dir=back] - "debian/stamp/pre-build-common" -> "debian/stamp/do-pre-build-indep" [dir=back color="Red"] - "debian/stamp/do-configure-indep" -> "debian/stamp/do-pre-build-indep" [dir=back] -// "debian/stamp/do-configure-indep" -> "debian/stamp/pre-build-indep" [dir=back] - "debian/stamp/pre-build-indep" -> "debian/stamp/do-pre-build-indep" [dir=back color="Red"] -// "CUSTOM-8" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-8" -> "debian/stamp/pre-build-indep" [dir=back] -// "debian/stamp/do-pre-build-arch" -> "debian/stamp/BUILD/foo-arch" [dir=back] -// "debian/stamp/do-pre-build-indep" -> "debian/stamp/BUILD/bar-indep" [dir=back] -// "debian/stamp/do-pre-build-arch" -> "debian/stamp/dep-build-arch" [dir=back] - "debian/stamp/BUILD/foo-arch" -> "debian/stamp/dep-build-arch" [dir=back] -// "debian/stamp/do-pre-build-indep" -> "debian/stamp/dep-build-indep" [dir=back] - "debian/stamp/BUILD/bar-indep" -> "debian/stamp/dep-build-indep" [dir=back] - "debian/stamp/do-pre-build-arch" -> "debian/stamp/do-build-arch" [dir=back] - "debian/stamp/dep-build-arch" -> "debian/stamp/do-build-arch" [dir=back color="Red"] -// "CUSTOM-9" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-9" -> "debian/stamp/BUILD/foo-arch" [dir=back] - "debian/stamp/do-pre-build-indep" -> "debian/stamp/do-build-indep" [dir=back] - "debian/stamp/dep-build-indep" -> "debian/stamp/do-build-indep" [dir=back color="Red"] -// "CUSTOM-10" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-10" -> "debian/stamp/BUILD/bar-indep" [dir=back] - "debian/stamp/do-build-arch" -> "build-arch" [dir=back] - "debian/stamp/do-build-indep" -> "build-indep" [dir=back] - "debian/stamp/do-build-arch" -> "build" [dir=back] - "debian/stamp/do-build-indep" -> "build" [dir=back] -// "debian/stamp/do-build-arch" -> "debian/stamp/post-build-arch" [dir=back] - "debian/stamp/do-build-arch" -> "debian/stamp/do-post-build-arch" [dir=back] - "debian/stamp/do-build-indep" -> "debian/stamp/do-post-build-indep" [dir=back] - "debian/stamp/post-build-arch" -> "debian/stamp/do-post-build-arch" [dir=back color="Red"] -// "CUSTOM-11" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-11" -> "debian/stamp/post-build-arch" [dir=back] - "debian/stamp/post-build-indep" -> "debian/stamp/do-post-build-indep" [dir=back color="Red"] -// "CUSTOM-12" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-12" -> "debian/stamp/post-build-indep" [dir=back] -// "debian/stamp/do-post-build-arch" -> "debian/stamp/pre-inst-arch" [dir=back] - "debian/stamp/pre-inst-common" -> "debian/stamp/do-pre-inst-arch" [dir=back color="Red"] -// "CUSTOM-13" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-13" -> "debian/stamp/pre-inst-common" [dir=back] - "debian/stamp/do-post-build-arch" -> "debian/stamp/do-pre-inst-arch" [dir=back] - "debian/stamp/pre-inst-arch" -> "debian/stamp/do-pre-inst-arch" [dir=back color="Red"] -// "CUSTOM-14" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-14" -> "debian/stamp/pre-inst-arch" [dir=back] -// "debian/stamp/do-post-build-indep" -> "debian/stamp/pre-inst-indep" [dir=back] - "debian/stamp/pre-inst-common" -> "debian/stamp/do-pre-inst-indep" [dir=back color="Red"] - "debian/stamp/do-post-build-indep" -> "debian/stamp/do-pre-inst-indep" [dir=back] - "debian/stamp/pre-inst-indep" -> "debian/stamp/do-pre-inst-indep" [dir=back color="Red"] -// "CUSTOM-15" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-15" -> "debian/stamp/pre-inst-indep" [dir=back] -// "debian/stamp/do-pre-inst-arch" -> "debian/stamp/INST/foo-arch" [dir=back] -// "debian/stamp/do-pre-inst-indep" -> "debian/stamp/INST/bar-indep" [dir=back] -// "debian/stamp/do-pre-inst-arch" -> "debian/stamp/dep-install-arch" [dir=back] - "debian/stamp/INST/foo-arch" -> "debian/stamp/dep-install-arch" [dir=back] -// "debian/stamp/do-pre-inst-indep" -> "debian/stamp/dep-install-indep" [dir=back] - "debian/stamp/INST/bar-indep" -> "debian/stamp/dep-install-indep" [dir=back] - "debian/stamp/do-pre-inst-arch" -> "debian/stamp/do-install-arch" [dir=back] - "debian/stamp/dep-install-arch" -> "debian/stamp/do-install-arch" [dir=back color="Red"] -// "CUSTOM-16" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-16" -> "debian/stamp/INST/foo-arch" [dir=back] - "debian/stamp/do-pre-inst-indep" -> "debian/stamp/do-install-indep" [dir=back] - "debian/stamp/dep-install-indep" -> "debian/stamp/do-install-indep" [dir=back color="Red"] -// "CUSTOM-17" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-17" -> "debian/stamp/INST/bar-indep" [dir=back] - "debian/stamp/do-install-arch" -> "install-arch" [dir=back] - "debian/stamp/do-install-indep" -> "install-indep" [dir=back] - "debian/stamp/do-install-arch" -> "install" [dir=back] - "debian/stamp/do-install-indep" -> "install" [dir=back] -// "debian/stamp/do-install-arch" -> "debian/stamp/pre-bin-arch" [dir=back] - "debian/stamp/do-install-arch" -> "debian/stamp/do-pre-bin-arch" [dir=back] - "debian/stamp/pre-bin-common" -> "debian/stamp/do-pre-bin-arch" [dir=back color="Red"] -// "CUSTOM-18" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-18" -> "debian/stamp/pre-bin-common" [dir=back] - "debian/stamp/pre-bin-arch" -> "debian/stamp/do-pre-bin-arch" [dir=back color="Red"] -// "CUSTOM-19" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-19" -> "debian/stamp/pre-bin-arch" [dir=back] -// "debian/stamp/do-install-indep" -> "debian/stamp/pre-bin-indep" [dir=back] - "debian/stamp/pre-bin-common" -> "debian/stamp/do-pre-bin-indep" [dir=back color="Red"] - "debian/stamp/do-install-indep" -> "debian/stamp/do-pre-bin-indep" [dir=back] - "debian/stamp/pre-bin-indep" -> "debian/stamp/do-pre-bin-indep" [dir=back color="Red"] -// "CUSTOM-20" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-20" -> "debian/stamp/pre-bin-indep" [dir=back] -// "debian/stamp/do-pre-bin-arch" -> "debian/stamp/BIN/foo-arch" [dir=back] -// "debian/stamp/do-pre-bin-indep" -> "debian/stamp/BIN/bar-indep" [dir=back] -// "debian/stamp/pre-bin-arch" -> "debian/stamp/dep-binary-arch" [dir=back] - "debian/stamp/BIN/foo-arch" -> "debian/stamp/dep-binary-arch" [dir=back] -// "debian/stamp/do-pre-bin-indep" -> "debian/stamp/dep-binary-indep" [dir=back] - "debian/stamp/BIN/bar-indep" -> "debian/stamp/dep-binary-indep" [dir=back] - "debian/stamp/do-pre-bin-arch" -> "debian/stamp/do-binary-arch" [dir=back] - "debian/stamp/dep-binary-arch" -> "debian/stamp/do-binary-arch" [dir=back color="Red"] -// "CUSTOM-21" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-21" -> "debian/stamp/BIN/foo-arch" [dir=back] - "debian/stamp/do-pre-bin-indep" -> "debian/stamp/do-binary-indep" [dir=back] - "debian/stamp/dep-binary-indep" -> "debian/stamp/do-binary-indep" [dir=back color="Red"] -// "CUSTOM-22" [ style="filled", color="#FFE4B5", fontcolor="NavyBlue", fontsize=10, shape="diamond"] -// "CUSTOM-22" -> "debian/stamp/BIN/bar-indep" [dir=back] - "debian/stamp/do-binary-arch" -> "binary-arch" [dir=back] - "debian/stamp/do-binary-indep" -> "binary-indep" [dir=back] - "debian/stamp/do-binary-arch" -> "binary" [dir=back] - "debian/stamp/do-binary-indep" -> "binary" [dir=back] - - - "debian/stamp/dummy-config-common" -> "debian/stamp/pre-config-common" [style="invis"] - "debian/stamp/do-pre-config-common" -> "debian/stamp/pre-config-arch" [style="invis"] - "debian/stamp/do-pre-config-common" -> "debian/stamp/pre-config-indep" [style="invis"] - "debian/stamp/do-pre-config-arch" -> "debian/stamp/CONFIG/foo-arch" [style="invis"] - "debian/stamp/do-pre-config-indep" -> "debian/stamp/CONFIG/bar-indep" [style="invis"] - - "debian/stamp/dep-configure-arch" -> "configure" [style="invis"] - "debian/stamp/dep-configure-indep" -> "configure" [style="invis"] - "debian/stamp/dep-configure-arch" -> "configure-arch" [style="invis"] - "debian/stamp/dep-configure-indep" -> "configure-arch" [style="invis"] - "debian/stamp/dep-configure-arch" -> "configure-indep" [style="invis"] - "debian/stamp/dep-configure-indep" -> "configure-indep" [style="invis"] - "configure-arch" -> "configure" [style="invis"] - "configure-indep" -> "configure" [style="invis"] - "configure" -> "debian/stamp/pre-build-common" [style="invis"] - - - "debian/stamp/pre-build-common" -> "debian/stamp/pre-build-indep" [style="invis"] - "debian/stamp/pre-build-common" -> "debian/stamp/pre-build-arch" [style="invis"] - - "debian/stamp/do-pre-build-arch" -> "debian/stamp/BUILD/foo-arch" [style="invis"] - "debian/stamp/do-pre-build-indep" -> "debian/stamp/BUILD/bar-indep" [style="invis"] - "debian/stamp/do-build-arch" -> "debian/stamp/post-build-arch" [style="invis"] - "debian/stamp/do-build-indep" -> "debian/stamp/post-build-indep" [style="invis"] - "debian/stamp/do-post-build-arch" -> "build-arch" [style="invis"] - "debian/stamp/do-post-build-arch" -> "build" [style="invis"] - "debian/stamp/do-post-build-indep" -> "build-indep" [style="invis"] - "debian/stamp/do-post-build-indep" -> "build" [style="invis"] - "build-arch" -> "build" [style="invis"] - "build-indep" -> "build" [style="invis"] - - "build" -> "debian/stamp/pre-inst-common" [style="invis"] - - "debian/stamp/pre-inst-common" -> "debian/stamp/pre-inst-indep" [style="invis"] - "debian/stamp/pre-inst-common" -> "debian/stamp/pre-inst-arch" [style="invis"] - "debian/stamp/do-pre-inst-arch" -> "debian/stamp/INST/foo-arch" [style="invis"] - "debian/stamp/do-pre-inst-indep" -> "debian/stamp/INST/bar-indep" [style="invis"] - - "install-arch" -> "install" [style="invis"] - "install-indep" -> "install" [style="invis"] - - "debian/stamp/pre-bin-common" -> "debian/stamp/pre-bin-indep" [style="invis"] - "debian/stamp/pre-bin-common" -> "debian/stamp/pre-bin-arch" [style="invis"] - - "install" -> "debian/stamp/pre-bin-common" [style="invis"] - "debian/stamp/do-pre-bin-arch" -> "debian/stamp/BIN/foo-arch" [style="invis"] - "debian/stamp/do-pre-bin-indep" -> "debian/stamp/BIN/bar-indep" [style="invis"] - - "binary-arch" -> "binary" [style="invis"] - "binary-indep" -> "binary" [style="invis"] - -} diff --git a/debian/common/targets.mk b/debian/common/targets.mk deleted file mode 100644 index 25b4ebb..0000000 --- a/debian/common/targets.mk +++ /dev/null @@ -1,525 +0,0 @@ -############################ -*- Mode: Makefile -*- ########################### -## targets.mk --- -## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) -## Created On : Sat Nov 15 01:10:05 2003 -## Created On Node : glaurung.green-gryphon.com -## Last Modified By : Manoj Srivastava -## Last Modified On : Sat Apr 26 22:33:09 2008 -## Last Machine Used: anzu.internal.golden-gryphon.com -## Update Count : 131 -## Status : Unknown, Use with caution! -## HISTORY : -## Description : The top level targets mandated by policy, as well as -## their dependencies. -## -## arch-tag: a81086a7-00f7-4355-ac56-8f38396935f4 -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -## -############################################################################### - -####################################################################### -####################################################################### -############### Miscellaneous ############### -####################################################################### -####################################################################### -source diff: - @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false - -define TESTROOT - @test $$(id -u) = 0 || (echo need root priviledges; exit 1) -endef - -testroot: - $(TESTROOT) - -checkpo: - $(CHECKPO) - -# arch-buildpackage likes to call this -prebuild: - -# OK. We have two sets of rules here, one for arch dependent packages, -# and one for arch independent packages. We have already calculated a -# list of each of these packages. - -# In each set, we may need to do things in five steps: configure, -# build, install, package, and clean. Now, there can be a common -# actions to be taken for all the packages, all arch dependent -# packages, all all independent packages, and each package -# individually at each stage. - -########################################################################### -# The current code does a number of things: It ensures that the highest # -# dependency at any stage (usually the -Common target) depends on the # -# stamp-STAGE of the previous stage; so no work on a succeeding stage can # -# start before the previous stage is all done. # -########################################################################### - -################################################################################# -# In the following, the do_* targets make sure all the real non-generic work is # -# done, but are not in the direct line of dependencies. This makes sure # -# that previous step in the order is all up to date before any of the per # -# package target dependencies are run. # -################################################################################# - - -####################################################################### -####################################################################### -############### Configuration ############### -####################################################################### -####################################################################### -# Just a dummy target to make sure that the stamp directory exists -debian/stamp/dummy-config-common: - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - -# Configuration tasks common to arch and arch indep packages go here -debian/stamp/pre-config-common: debian/stamp/dummy-config-common - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ -# Do not add dependencies to this rule -debian/stamp/do-pre-config-common: debian/stamp/dummy-config-common - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - $(MAKE) -f debian/rules debian/stamp/pre-config-common - @echo done > $@ - -# Arch specific and arch independent tasks go here -debian/stamp/pre-config-arch: debian/stamp/do-pre-config-common - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ -# Do not add dependencies to this rule -debian/stamp/do-pre-config-arch: debian/stamp/do-pre-config-common - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - $(MAKE) -f debian/rules debian/stamp/pre-config-arch - @echo done > $@ - - -debian/stamp/pre-config-indep: debian/stamp/do-pre-config-common - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ -# Do not add dependencies to this rule -debian/stamp/do-pre-config-indep: debian/stamp/do-pre-config-common - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - $(MAKE) -f debian/rules debian/stamp/pre-config-indep - @echo done > $@ - -# Per package work happens as an added dependency of this rule. -$(patsubst %,debian/stamp/CONFIG/%,$(DEB_ARCH_PACKAGES)) : debian/stamp/CONFIG/% : debian/stamp/do-pre-config-arch - $(REASON) - $(checkdir) - @test -d debian/stamp/CONFIG || mkdir -p debian/stamp/CONFIG - @echo done > $@ -$(patsubst %,debian/stamp/CONFIG/%,$(DEB_INDEP_PACKAGES)) : debian/stamp/CONFIG/% : debian/stamp/do-pre-config-indep - $(REASON) - $(checkdir) - @test -d debian/stamp/CONFIG || mkdir -p debian/stamp/CONFIG - @echo done > $@ - -# Do not add dependencies to this rule -debian/stamp/dep-configure-arch: debian/stamp/do-pre-config-arch $(patsubst %,debian/stamp/CONFIG/%,$(DEB_ARCH_PACKAGES)) - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - -# Do not add dependencies to this rule -debian/stamp/dep-configure-indep: debian/stamp/do-pre-config-indep $(patsubst %,debian/stamp/CONFIG/%,$(DEB_INDEP_PACKAGES)) - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - -debian/stamp/do-configure-arch: debian/stamp/do-pre-config-arch - $(REASON) - @test -d debian/stamp/CONFIG || mkdir -p debian/stamp/CONFIG - $(MAKE) -f debian/rules debian/stamp/dep-configure-arch - @echo done > $@ -debian/stamp/do-configure-indep: debian/stamp/do-pre-config-indep - $(REASON) - @test -d debian/stamp/CONFIG || mkdir -p debian/stamp/CONFIG - $(MAKE) -f debian/rules debian/stamp/dep-configure-indep - @echo done > $@ - -# These three targets are required by policy -configure-arch: debian/stamp/do-configure-arch - $(REASON) -configure-indep: debian/stamp/do-configure-indep - $(REASON) -configure: debian/stamp/do-configure-arch debian/stamp/do-configure-indep - $(REASON) - -####################################################################### -####################################################################### -############### Build ############### -####################################################################### -####################################################################### -# tasks common to arch and arch indep packages go here -debian/stamp/pre-build-common: - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - -# Arch specific and arch independent tasks go here -debian/stamp/pre-build-arch: debian/stamp/do-configure-arch - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ -debian/stamp/do-pre-build-arch: debian/stamp/do-configure-arch - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @test -e debian/stamp/pre-build-common || $(MAKE) -f debian/rules debian/stamp/pre-build-common - $(MAKE) -f debian/rules debian/stamp/pre-build-arch - @echo done > $@ - -debian/stamp/pre-build-indep: debian/stamp/do-configure-indep - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ -debian/stamp/do-pre-build-indep: debian/stamp/do-configure-indep - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @test -e debian/stamp/pre-build-common || $(MAKE) -f debian/rules debian/stamp/pre-build-common - $(MAKE) -f debian/rules debian/stamp/pre-build-indep - @echo done > $@ - -# Per package work happens as an added dependency of this rule. -$(patsubst %,debian/stamp/BUILD/%,$(DEB_ARCH_PACKAGES)) : debian/stamp/BUILD/% : debian/stamp/do-pre-build-arch - $(REASON) - $(checkdir) - @test -d debian/stamp/BUILD || mkdir -p debian/stamp/BUILD - @echo done > $@ - -$(patsubst %,debian/stamp/BUILD/%,$(DEB_INDEP_PACKAGES)) : debian/stamp/BUILD/% : debian/stamp/do-pre-build-indep - $(REASON) - $(checkdir) - @test -d debian/stamp/BUILD || mkdir -p debian/stamp/BUILD - @echo done > $@ - -# These do targeta make sure all the per package configuration is -# done, but is not in the direct line of dependencies. This makes sure -# that pre-config targets are all up to date before any of the per -# package target dependencies are run. -debian/stamp/dep-build-arch: debian/stamp/do-pre-build-arch $(patsubst %,debian/stamp/BUILD/%,$(DEB_ARCH_PACKAGES)) - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - -debian/stamp/dep-build-indep: debian/stamp/do-pre-build-indep $(patsubst %,debian/stamp/BUILD/%,$(DEB_INDEP_PACKAGES)) - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - -debian/stamp/do-build-arch: debian/stamp/do-pre-build-arch - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - $(MAKE) -f debian/rules debian/stamp/dep-build-arch - @echo done > $@ -debian/stamp/do-build-indep: debian/stamp/do-pre-build-indep - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - $(MAKE) -f debian/rules debian/stamp/dep-build-indep - @echo done > $@ - -# required -build-arch: debian/stamp/do-build-arch - $(REASON) -build-indep: debian/stamp/do-build-indep - $(REASON) -build: debian/stamp/do-build-arch debian/stamp/do-build-indep - $(REASON) - -# Work here -debian/stamp/post-build-arch: debian/stamp/do-build-arch - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ -debian/stamp/do-post-build-arch: debian/stamp/do-build-arch - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - $(MAKE) -f debian/rules debian/stamp/post-build-arch - @echo done > $@ - -debian/stamp/post-build-indep: debian/stamp/do-build-indep - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ -debian/stamp/do-post-build-indep: debian/stamp/do-build-indep - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - $(MAKE) -f debian/rules debian/stamp/post-build-indep - @echo done > $@ - -####################################################################### -####################################################################### -############### Install ############### -####################################################################### -####################################################################### -# tasks common to arch and arch indep packages go here -debian/stamp/pre-inst-common: - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - -# Arch specific and arch independent tasks go here -debian/stamp/pre-inst-arch: debian/stamp/do-post-build-arch - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ -debian/stamp/do-pre-inst-arch: debian/stamp/do-post-build-arch - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @test -e debian/stamp/INST-common || $(MAKE) -f debian/rules debian/stamp/pre-inst-common - $(MAKE) -f debian/rules debian/stamp/pre-inst-arch - @echo done > $@ - -debian/stamp/pre-inst-indep: debian/stamp/do-post-build-indep - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ -debian/stamp/do-pre-inst-indep: debian/stamp/do-post-build-indep - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @test -e debian/stamp/INST-common || $(MAKE) -f debian/rules debian/stamp/pre-inst-common - $(MAKE) -f debian/rules debian/stamp/pre-inst-indep - @echo done > $@ - - -# Per package work happens as an added dependency of this rule -$(patsubst %,debian/stamp/INST/%,$(DEB_ARCH_PACKAGES)) : debian/stamp/INST/% : debian/stamp/do-pre-inst-arch - $(REASON) - $(checkdir) - @test -d debian/stamp/INST || mkdir -p debian/stamp/INST - @echo done > $@ -$(patsubst %,debian/stamp/INST/%,$(DEB_INDEP_PACKAGES)) : debian/stamp/INST/% : debian/stamp/do-pre-inst-indep - $(REASON) - $(checkdir) - @test -d debian/stamp/INST || mkdir -p debian/stamp/INST - @echo done > $@ - -# These do targeta make sure all the per package configuration is -# done, but is not in the direct line of dependencies. This makes sure -# that pre-config targets are all up to date before any of the per -# package target dependencies are run. -debian/stamp/dep-install-arch: debian/stamp/do-pre-inst-arch $(patsubst %,debian/stamp/INST/%,$(DEB_ARCH_PACKAGES)) - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - -debian/stamp/dep-install-indep: debian/stamp/do-pre-inst-indep $(patsubst %,debian/stamp/INST/%,$(DEB_INDEP_PACKAGES)) - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - - -debian/stamp/do-install-arch: debian/stamp/do-pre-inst-arch - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - $(MAKE) -f debian/rules debian/stamp/dep-install-arch - @echo done > $@ -debian/stamp/do-install-indep: debian/stamp/do-pre-inst-indep - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - $(MAKE) -f debian/rules debian/stamp/dep-install-indep - @echo done > $@ - -#required -install-arch: debian/stamp/do-install-arch - $(REASON) - $(TESTROOT) -install-indep: debian/stamp/do-install-indep - $(REASON) - $(TESTROOT) -install: debian/stamp/do-install-arch debian/stamp/do-install-indep - $(REASON) - $(TESTROOT) - -####################################################################### -####################################################################### -############### Package ############### -####################################################################### -####################################################################### -# tasks common to arch and arch indep packages go here -debian/stamp/pre-bin-common: - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - -# Arch specific and arch independent tasks go here -debian/stamp/pre-bin-arch: debian/stamp/do-install-arch - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ -debian/stamp/do-pre-bin-arch: debian/stamp/do-install-arch - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @test -e debian/stamp/BIN-common || $(MAKE) -f debian/rules debian/stamp/pre-bin-common - $(MAKE) -f debian/rules debian/stamp/pre-bin-arch - @echo done > $@ - -debian/stamp/pre-bin-indep: debian/stamp/do-install-indep - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ -debian/stamp/do-pre-bin-indep: debian/stamp/do-install-indep - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - @test -e debian/stamp/BIN-common || $(MAKE) -f debian/rules debian/stamp/pre-bin-common - $(MAKE) -f debian/rules debian/stamp/pre-bin-indep - @echo done > $@ - -# Per package work happens as an added dependency of this rule -$(patsubst %,debian/stamp/BIN/%,$(DEB_ARCH_PACKAGES)) : debian/stamp/BIN/% : debian/stamp/do-pre-bin-arch - $(REASON) - $(checkdir) - @test -d debian/stamp/BIN || mkdir -p debian/stamp/BIN - @echo done > $@ - -$(patsubst %,debian/stamp/BIN/%,$(DEB_INDEP_PACKAGES)) : debian/stamp/BIN/% : debian/stamp/do-pre-bin-indep - $(REASON) - $(checkdir) - @test -d debian/stamp/BIN || mkdir -p debian/stamp/BIN - @echo done > $@ - -# These do targeta make sure all the per package work is done, but is -# not in the direct line of dependencies. This makes sure that -# pre-config targets are all up to date before any of the per package -# target dependencies are run. -debian/stamp/dep-binary-arch: debian/stamp/pre-bin-arch $(patsubst %,debian/stamp/BIN/%,$(DEB_ARCH_PACKAGES)) - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - -debian/stamp/dep-binary-indep: debian/stamp/pre-bin-indep $(patsubst %,debian/stamp/BIN/%,$(DEB_INDEP_PACKAGES)) - $(REASON) - @test -d debian/stamp || mkdir -p debian/stamp - @echo done > $@ - -debian/stamp/do-binary-arch: debian/stamp/do-pre-bin-arch - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - $(MAKE) -f debian/rules debian/stamp/dep-binary-arch - @echo done > $@ -debian/stamp/do-binary-indep: debian/stamp/do-pre-bin-indep - $(REASON) - $(checkdir) - @test -d debian/stamp || mkdir -p debian/stamp - $(MAKE) -f debian/rules debian/stamp/dep-binary-indep - @echo done > $@ -# required -binary-arch: debian/stamp/do-binary-arch - $(REASON) - $(TESTROOT) -binary-indep: debian/stamp/do-binary-indep - $(REASON) - $(TESTROOT) -binary: debian/stamp/do-binary-arch debian/stamp/do-binary-indep - $(REASON) - $(TESTROOT) - @echo arch package = $(DEB_ARCH_PACKAGES) - @echo indep packages = $(DEB_INDEP_PACKAGES) - -####################################################################### -####################################################################### -############### Clean ############### -####################################################################### -####################################################################### -# Work here -CLN-common:: - $(REASON) - $(checkdir) - -# sync Work here -CLN-arch:: CLN-common - $(REASON) - $(checkdir) -CLN-indep:: CLN-common - $(REASON) - $(checkdir) -# Work here -$(patsubst %,CLEAN/%,$(DEB_ARCH_PACKAGES)) :: CLEAN/% : CLN-arch - $(REASON) - $(checkdir) -$(patsubst %,CLEAN/%,$(DEB_INDEP_PACKAGES)) :: CLEAN/% : CLN-indep - $(REASON) - $(checkdir) - -clean-arch: CLN-arch $(patsubst %,CLEAN/%,$(DEB_ARCH_PACKAGES)) - $(REASON) -clean-indep: CLN-indep $(patsubst %,CLEAN/%,$(DEB_INDEP_PACKAGES)) - $(REASON) -clean: clean-indep clean-arch - $(REASON) - -test -f Makefile && $(MAKE) distclean - -rm -f $(FILES_TO_CLEAN) $(STAMPS_TO_CLEAN) - -rm -rf $(DIRS_TO_CLEAN) debian/stamp - -rm -f core TAGS \ - `find . ! -regex '.*/\.git/.*' ! -regex '.*/\{arch\}/.*' \ - ! -regex '.*/CVS/.*' ! -regex '.*/\.arch-ids/.*' \ - ! -regex '.*/\.svn/.*' \ - \( -name '*.orig' -o -name '*.rej' -o -name '*~' -o \ - -name '*.bak' -o -name '#*#' -o -name '.*.orig' -o \ - -name '.*.rej' -o -name '.SUMS' \) \ - -print` - - -####################################################################### -####################################################################### -############### ############### -####################################################################### -####################################################################### -.PHONY: configure-arch configure-indep configure \ - build-arch build-indep build \ - install-arch install-indep install \ - binary-arch binary-indep binary \ - CLN-common CLN-indep CLN-arch clean-arch clean-indep clean \ - $(patsubst %,CLEAN/%, $(DEB_INDEP_PACKAGES)) $(patsubst %,CLEAN/%, $(DEB_ARCH_PACKAGES)) \ - implode explode prebuild checkpo - - -#Local variables: -#mode: makefile -#End: diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control index 6f9a9a8..e4a5814 100644 --- a/debian/control +++ b/debian/control @@ -1,16 +1,18 @@ Source: angband-doc -VCS-Git: git://git.debian.org/~srivasta/debian/angband-doc.git -VCS-Browser: http://git.debian.org/?p=users/srivasta/debian/angband-doc.git;a=summary +VCS-Git: https://anonscm.debian.org/git/users/srivasta/debian/angband-doc.git +VCS-Browser: https://git.debian.org/?p=users/srivasta/debian/angband-doc.git;a=summary Section: doc Priority: optional Maintainer: Manoj Srivastava <srivasta@debian.org> -Standards-Version: 3.8.2.0 -Homepage: ftp://clockwork.dementia.org/angband +Standards-Version: 3.9.6 +Homepage: http://rephial.org +Build-Depends-Indep: debhelper (>= 9) Package: angband-doc Architecture: all Suggests: angband -Description: Documentation for the roguelike game Angband. +Depends: ${misc:Depends} +Description: Documentation for the roguelike game Angband Angband is a single-player, text-based, dungeon simulation derived from the game Moria, which was in turn based on Rogue. This package contains additional documentation and spoilers for the game. diff --git a/debian/copyright b/debian/copyright index c468678..6796208 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,15 +1,18 @@ -This package was debianized by Manoj Srivastava <srivasta@debian.org> -It was downloaded from <URL:ftp://export.andrew.cmu.edu/angband/> +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: angband-doc +Upstream-Contact: Manoj Srivastava <srivasta@debian.org> +Sources: http://rephial.org +Comment: This package was debianized by Manoj Srivastava <srivasta@debian.org> + It was downloaded from <URL:http://rephial.org> +Files: * +Copyright: 1996-2006, 2016 Manoj Srivastava <srivasta@debian.org> +License: Artistic The documentation is freely available. - - The debian specific changes are Copyright (c) 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006 Manoj Srivastava, and - distributed under the terms of the Artistic License. - - The Artistic License is available on Debian systems in the file - /usr/share/common-licenses/Artistic. (This is the licence that Perl - is available under) - -Manoj Srivastava <srivasta@debian.org> -arch-tag: d4250e44-a0e0-4ee0-adb9-2bd74f6eeb27 + . + THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + . + On Debian systems, the full text of the Artistic License can be found + in the file `/usr/share/common-licenses/Artistic'. diff --git a/debian/local-vars.mk b/debian/local-vars.mk deleted file mode 100644 index aa3c46c..0000000 --- a/debian/local-vars.mk +++ /dev/null @@ -1,52 +0,0 @@ -############################ -*- Mode: Makefile -*- ########################### -## local-vars.mk --- -## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) -## Created On : Sat Nov 15 10:43:00 2003 -## Created On Node : glaurung.green-gryphon.com -## Last Modified By : Manoj Srivastava -## Last Modified On : Thu Feb 19 16:27:24 2004 -## Last Machine Used: glaurung.internal.golden-gryphon.com -## Update Count : 13 -## Status : Unknown, Use with caution! -## HISTORY : -## Description : -## -## arch-tag: 1a76a87e-7af5-424a-a30d-61660c8f243e -## -############################################################################### - -FILES_TO_CLEAN = -STAMPS_TO_CLEAN = -DIRS_TO_CLEAN = $(TMPTOP) debian/stamp debian/files - -# Location of the source dir -SRCTOP := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) -TMPTOP = $(SRCTOP)/debian/$(package) -LINTIANDIR = $(TMPTOP)/usr/share/lintian/overrides -DOCBASEDIR = $(TMPTOP)/usr/share/doc-base -GAMEDIR = $(TMPTOP)/var/games/angband/info -MENUDIR = $(TMPTOP)/usr/lib/menu/ - -# Man Pages -MANDIR = $(TMPTOP)/usr/share/man -MAN1DIR = $(MANDIR)/man1 -MAN3DIR = $(MANDIR)/man3 -MAN5DIR = $(MANDIR)/man5 -MAN6DIR = $(MANDIR)/man6 -MAN7DIR = $(MANDIR)/man7 -MAN8DIR = $(MANDIR)/man8 - - -INFODIR = $(TMPTOP)/usr/share/info - -DOCTOP = $(TMPTOP)/usr/share/doc -DOCDIR = $(DOCTOP)/$(package) - -define checkdir - @test -f debian/rules -a -f Help-Info/artifact.spo || \ - (echo Not in correct source directory; exit 1) -endef - -define checkroot - @test $$(id -u) = 0 || (echo need root priviledges; exit 1) -endef diff --git a/debian/local.mk b/debian/local.mk deleted file mode 100644 index 9e6f7c9..0000000 --- a/debian/local.mk +++ /dev/null @@ -1,64 +0,0 @@ -############################ -*- Mode: Makefile -*- ########################### -## local.mk --- -## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) -## Created On : Sat Nov 15 10:42:10 2003 -## Created On Node : glaurung.green-gryphon.com -## Last Modified By : Manoj Srivastava -## Last Modified On : Wed Sep 6 12:28:54 2006 -## Last Machine Used: glaurung.internal.golden-gryphon.com -## Update Count : 6 -## Status : Unknown, Use with caution! -## HISTORY : -## Description : -## -## arch-tag: b07b1015-30ba-4b46-915f-78c776a808f4 -## -############################################################################### - -testdir: - $(testdir) - -debian/stamp/INST/angband-doc: debian/stamp/install/angband-doc -debian/stamp/BIN/angband-doc: debian/stamp/binary/angband-doc - -CLEAN/angband-doc:: - -rm -rf $(TMPTOP) - - -debian/stamp/install/angband-doc: - $(checkdir) - $(REASON) - $(TESTROOT) - rm -rf $(TMPTOP) - $(make_directory) $(GAMEDIR) - $(make_directory) $(DOCDIR) - $(make_directory) $(DOCBASEDIR) - $(make_directory) $(LINTIANDIR) - echo '$(package): description-synopsis-might-not-be-phrased-properly'>> \ - $(LINTIANDIR)/$(package) - $(install_file) debian/changelog $(DOCDIR)/ - $(install_file) debian/README.debian $(DOCDIR)/ - gzip -9fqr $(DOCDIR) - $(MAKE) $(INT_INSTALL_TARGET) prefix=$(TMPTOP) \ - infodir=$(INFODIR) mandir=$(MANDIR) - $(install_file) debian/copyright $(DOCDIR)/copyright - $(install_file) debian/docentry $(DOCBASEDIR)/$(package) - $(install_file) debian/docfaq1 $(DOCBASEDIR)/$(package)_faq1 - $(install_file) debian/docfaq2 $(DOCBASEDIR)/$(package)_faq2 - @test -d debian/stamp/install || mkdir -p debian/stamp/install - @echo done > $@ - -debian/stamp/binary/angband-doc: - $(checkdir) - $(REASON) - $(TESTROOT) - $(make_directory) $(TMPTOP)/DEBIAN - $(install_script) debian/postinst $(TMPTOP)/DEBIAN/postinst - $(install_script) debian/prerm $(TMPTOP)/DEBIAN/prerm - dpkg-gencontrol -p$(package) -isp -P$(TMPTOP) - $(create_md5sum) $(TMPTOP) - chown -R root $(TMPTOP) - chmod -R u+w,go=rX $(TMPTOP) - dpkg --build $(TMPTOP) .. - @test -d debian/stamp/binary || mkdir -p debian/stamp/binary - @echo done > $@ diff --git a/debian/postinst b/debian/postinst deleted file mode 100755 index 8c0e4a1..0000000 --- a/debian/postinst +++ /dev/null @@ -1,211 +0,0 @@ -#! /bin/sh -# -*- Mode: Sh -*- -# postinst --- -# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) -# Created On : Fri Nov 14 11:25:07 2003 -# Created On Node : glaurung.green-gryphon.com -# Last Modified By : Manoj Srivastava -# Last Modified On : Mon Apr 10 18:38:15 2006 -# Last Machine Used: glaurung.internal.golden-gryphon.com -# Update Count : 13 -# Status : Unknown, Use with caution! -# HISTORY : -# Description : -# -# arch-tag: 5401e9ef-39cc-4aee-96a4-61dfb8f32cf7 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# - -# Abort if any command returns an error value -set -e - -package_name=angband-doc - -if [ -z "$package_name" ]; then - print >&2 "Internal Error. Please report a bug." - exit 1; -fi - -# This script is called as the last step of the installation of the -# package. All the package's files are in place, dpkg has already done -# its automatic conffile handling, and all the packages we depend of -# are already fully installed and configured. -# summary of how this script can be called: -# * <postinst> `configure' <most-recently-configured-version> -# * <old-postinst> `abort-upgrade' <new version> -# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -# <new-version> -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -# <failed-install-package> <version> `removing' -# <conflicting-package> <version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# -# quoting from the policy: -# Any necessary prompting should almost always be confined to the -# post-installation script, and should be protected with a conditional -# so that unnecessary prompting doesn't happen if a package's -# installation fails and the `postinst' is called with `abort-upgrade', -# `abort-remove' or `abort-deconfigure'. - -# The following idempotent stuff doesn't generally need protecting -# against being run in the abort-* cases. - -# Install info files into the dir file -##: install-info --quiet --section "section pattern" "Section Title" \ -##: --description="Name of the document" /usr/info/${package_name}.info - -# Create stub directories under /usr/local -##: if test ! -d /usr/local/lib/${package_name}; then -##: if test ! -d /usr/local/lib; then -##: if mkdir /usr/local/lib; then -##: chown root.staff /usr/local/lib || true -##: chmod 2775 /usr/local/lib || true -##: fi -##: fi -##: if mkdir /usr/local/lib/${package_name}; then -##: chown root.staff /usr/local/lib/${package_name} || true -##: chmod 2775 /usr/local/lib/${package_name} || true -##: fi -##: fi - -# Ensure the menu system is updated -##:[ ! -x /usr/bin/update-menus ] || /usr/bin/update-menus - -# Arrange for a daemon to be started at system boot time -##: update-rc.d ${package_name} default >/dev/null - -case "$1" in - configure) - # Configure this package. If the package must prompt the user for - # information, do it here. - # Install emacs lisp files - ##:if [ -x /usr/lib/emacsen-common/emacs-package-install ]; then - ##: /usr/lib/emacsen-common/emacs-package-install $package_name - ##:fi - - - # Activate menu-methods script - ##: chmod a+x /etc/menu-methods/${package_name} - - # Update ld.so cache - ##: ldconfig - - # Make our version of a program available - ##: update-alternatives \ - ##: --install /usr/bin/program program /usr/bin/alternative 50 \ - ##: --slave /usr/man/man1/program.1.gz program.1.gz \ - ##: /usr/man/man1/alternative.1.gz - - # Tell ucf that the file in /usr/share/foo is the latest - # maintainer version, and let it handle how to manage the real - # confuguration file in /etc. This is how a static configuration - # file can be handled: - ##:if which ucf >/dev/null 2>&1; then - ##: ucf /usr/share/${package_name}/configuration /etc/${package_name}.conf - ##:fi - - ### We could also do this on the fly. The following is from Tore - ### Anderson: - - #. /usr/share/debconf/confmodule - - ### find out what the user answered. - # db_get foo/run_on_boot - # run_on_boot=$RET - # db_stop - - ### safely create a temporary file to generate our suggested - ### configuration file. - # tempfile=`tempfile` - # cat << _eof > $tempfile - ### Configuration file for Foo. - - ### this was answered by you, the user in a debconf dialogue - # RUNONBOOT=$run_on_boot - - ### this was not, as it has a sane default value. - # COLOUROFSKY=blue - - #_eof - - ### Note that some versions of debconf do not release stdin, so - ### the following invocation of ucf may not work, since the stdin - ### is never coneected to ucfr. - - ### now, invoke ucf, which will take care of the rest, and ask - ### the user if he wants to update his file, if it is modified. - #ucf $tempfile /etc/foo.conf - - ### done! now we'll just clear up our cruft. - #rm -f $tempfile - - - - # There are three sub-cases: - if test "${2+set}" != set; then - # We're being installed by an ancient dpkg which doesn't remember - # which version was most recently configured, or even whether - # there is a most recently configured version. - : - - elif test -z "$2" -o "$2" = "<unknown>"; then - # The package has not ever been configured on this system, or was - # purged since it was last configured. - : - - else - # Version $2 is the most recently configured version of this - # package. - : - - fi ;; - abort-upgrade) - # Back out of an attempt to upgrade this package FROM THIS VERSION - # to version $2. Undo the effects of "prerm upgrade $2". - : - - ;; - abort-remove) - if test "$2" != in-favour; then - echo "$0: undocumented call to \`postinst $*'" 1>&2 - exit 0 - fi - # Back out of an attempt to remove this package, which was due to - # a conflict with package $3 (version $4). Undo the effects of - # "prerm remove in-favour $3 $4". - : - - ;; - abort-deconfigure) - if test "$2" != in-favour -o "$5" != removing; then - echo "$0: undocumented call to \`postinst $*'" 1>&2 - exit 0 - fi - # Back out of an attempt to deconfigure this package, which was - # due to package $6 (version $7) which we depend on being removed - # to make way for package $3 (version $4). Undo the effects of - # "prerm deconfigure in-favour $3 $4 removing $6 $7". - : - - ;; - *) echo "$0: didn't understand being called with \`$1'" 1>&2 - exit 0;; -esac - - -exit 0 diff --git a/debian/prerm b/debian/prerm deleted file mode 100755 index 7e325eb..0000000 --- a/debian/prerm +++ /dev/null @@ -1,124 +0,0 @@ -#! /bin/sh -# -*- Mode: Sh -*- -# prerm --- -# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) -# Created On : Fri Nov 14 12:16:39 2003 -# Created On Node : glaurung.green-gryphon.com -# Last Modified By : Manoj Srivastava -# Last Modified On : Thu Feb 19 14:57:19 2004 -# Last Machine Used: glaurung.internal.golden-gryphon.com -# Update Count : 9 -# Status : Unknown, Use with caution! -# HISTORY : -# Description : -# -# arch-tag: a4c1a888-137d-4800-98f8-93d0365422d8 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# - -# Abort if any command returns an error value -set -e - -package_name=angband-doc - -if [ -z "$package_name" ]; then - print >&2 "Internal Error. Please report a bug." - exit 1; -fi - - -# This script is called as the first step in removing the package from -# the system. This includes cases where the user explicitly asked for -# the package to be removed, upgrade, automatic removal due to conflicts, -# and deconfiguration due to temporary removal of a depended-on package. - -# Info files should be uninstalled from the dir file in any case. -##: install-info --quiet --remove /usr/info/${package_name}.info - -case "$1" in - remove) - # This package about to be removed. - : - - # Remove package-specific directories from /usr/local. Don't try - # to remove standard directories such as /usr/local/lib. - ##: if test -d /usr/local/lib/${package_name}; then - ##: rmdir /usr/local/lib/${package_name} || true - ##: fi - - # Deactivate menu-methods script. - ##: chmod a-x /etc/menu-methods/${package_name} - - # Withdraw our version of a program. - ##: update-alternatives --remove program /usr/bin/alternative - - # Get rid of the byte compiled files - ##: if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then - ##: /usr/lib/emacsen-common/emacs-package-remove $package_name - ##: fi - - if [ -L /usr/doc/$package_name ]; then - rm -f /usr/doc/$package_name - fi - - # There are two sub-cases: - if test "${2+set}" = set; then - if test "$2" != in-favour; then - echo "$0: undocumented call to \`prerm $*'" 1>&2 - exit 0 - fi - # We are being removed because of a conflict with package $3 - # (version $4), which is now being installed. - : - - else - # The package is being removed in its own right. - : - - fi ;; - deconfigure) - if test "$2" != in-favour -o "$5" != removing; then - echo "$0: undocumented call to \`prerm $*'" 1>&2 - exit 0 - fi - # Package $6 (version $7) which we depend on is being removed due - # to a conflict with package $3 (version $4), and this package is - # being deconfigured until $6 can be reinstalled. - : - - ;; - upgrade) - # Prepare to upgrade FROM THIS VERSION of this package to version $2. - : - - if [ -L /usr/doc/$package_name ]; then - rm -f /usr/doc/$package_name - fi - - ;; - failed-upgrade) - # Prepare to upgrade from version $2 of this package TO THIS VERSION. - # This is only used if the old version's prerm couldn't handle it, - # and returned non-zero. (Fix old prerm bugs here.) - : - - ;; - *) echo "$0: didn't understand being called with \`$1'" 1>&2 - exit 0;; -esac - -exit 0 diff --git a/debian/rules b/debian/rules index ad11a22..a5ad1fa 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #! /usr/bin/make -f ############################ -*- Mode: Makefile; coding: utf-8 -*- ########################### -## rules --- -## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## rules --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) ## Created On : Fri Nov 14 12:33:34 2003 ## Created On Node : glaurung.green-gryphon.com ## Last Modified By : Manoj Srivastava @@ -9,11 +9,11 @@ ## Last Machine Used: glaurung.green-gryphon.com ## Update Count : 70 ## Status : Unknown, Use with caution! -## HISTORY : -## Description : -## +## HISTORY : +## Description : +## ## arch-tag: 9a5063f4-1e20-4fff-b22a-de94c1e3d954 -## +## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or @@ -30,33 +30,8 @@ ## ############################################################################### -# Include dpkg-architecture generated variables -include debian/common/archvars.mk - -# Set variables with information extracted from control and changelog files -include debian/common/pkgvars.mk - -# variables useful for perl packages -include debian/common/perlvars.mk - -# Install commands -include debian/common/install_cmds.mk - -include debian/local-vars.mk - -include debian/common/copt.mk - -include debian/common/automake.mk - - - -all: - @echo nothing to be done - -include debian/common/targets.mk - -include debian/local.mk - +%: + dh $@ #Local variables: #mode: makefile diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) |