debian/0000755000000000000000000000000012011617377007173 5ustar debian/templates/0000755000000000000000000000000012011473571011165 5ustar debian/templates/dirs.template0000644000000000000000000000007112011473571013661 0ustar usr/share/icons/ usr/share/icons/default etc/X11/cursors debian/templates/preinst.template0000644000000000000000000000300012011473571014377 0ustar #! /bin/sh # Pre-install script for ‘@PACKAGE@’. # # Manpage: ‘dh_installdeb(1)’ set -e # Summary of ways this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # For details, see or # the ‘debian-policy’ package. REMOVED_LIST="" ICONDIR=/etc/X11/cursors remove_omitted_alternatives () { # Remove themes installed by previous versions but omitted # from this version of the package. if ! update-alternatives --quiet --list x-cursor-theme ; then # No alternatives installed for ‘x-cursor-theme’, so we're # done. We need to test this explicitly to avoid exiting with # an error when listing the alternatives. return fi installed_cursor_themes=`update-alternatives --list x-cursor-theme` for theme in $REMOVED_LIST ; do if echo "$installed_cursor_themes" | grep -q $theme ; then update-alternatives --remove $ICONDIR/$theme rm -f $ICONDIR/$theme fi done } case "$1" in upgrade) remove_omitted_alternatives ;; install|abort-upgrade) ;; *) printf "preinst called with unknown argument ‘%s’\n" "$1" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/templates/lintian-overrides.template0000644000000000000000000000021412011473571016355 0ustar # Bug#591595 requires every cursors package to provide this directory. @PACKAGE@: package-contains-empty-directory usr/share/icons/default/ debian/templates/install.template0000644000000000000000000000032612011473571014371 0ustar usr/share/icons/@THEMESET_PREFIX@{Black,Blue,Green,Orange,Red,White}-{Small,Regular,Large,Huge}{,-Slim} etc/X11/cursors/@THEMESET_PREFIX@{Black,Blue,Green,Orange,Red,White}-{Small,Regular,Large,Huge}{,-Slim}.theme debian/templates/prerm.template0000644000000000000000000000246312011473571014054 0ustar #! /bin/sh # Pre-remove script for ‘@PACKAGE@’. # # Manpage: ‘dh_installdeb(1)’ set -e # Summary of ways this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # For details, see or # the ‘debian-policy’ package. ICONDIR=/etc/X11/cursors case "$1" in remove|deconfigure) for theme in `find $ICONDIR -regex '.*@THEMESET_PREFIX@.*/index\.theme$'`; do update-alternatives --remove x-cursor-theme "$theme" done ;; upgrade) # We work around Bug#392657 by *not* removing and # re-installing on upgrade. Instead, we remove themes no # longer shipped in preinst, and add new themes on upgrade. ;; failed-upgrade) ;; *) printf "prerm called with unknown argument ‘%s’\n" "$1" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/templates/docs.template0000644000000000000000000000001712011473571013650 0ustar README AUTHORS debian/templates/postinst.template0000644000000000000000000000276312011473571014615 0ustar #! /bin/sh # Post-install script for ‘@PACKAGE@’. # # Manpage: ‘dh_installdeb(1)’ set -e # Summary of ways this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # For details, see or # the ‘debian-policy’ package. PRIORITY=50 TARGET=/usr/share/icons/default/index.theme ICONDIR=/etc/X11/cursors case "$1" in configure) # We work around Bug#392657 by *not* removing and # re-installing on upgrade. Instead, we remove themes no # longer shipped in preinst, and add new themes on upgrade. for theme in `find $ICONDIR -regex '.*@THEMESET_PREFIX@.*/index\.theme$'`; do if ! update-alternatives --list x-cursor-theme | grep -q "$theme" ; then update-alternatives --install "$TARGET" x-cursor-theme "$theme" $PRIORITY fi done ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) printf "postinst called with unknown argument ‘%s’\n" "$1" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/copyright0000644000000000000000000000332412011473571011124 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file;rev=166 Upstream-Name: ComixCursors Upstream-Contact: Jens Luetkens Source: http://opendesktop.org/content/show.php/ComixCursors?content=32627 Files: * Copyright: © 2010 Ben Finney © 2005–2010 Jens Luetkens License: GPL-3+ Files: Makefile Copyright: © 2010 Ben Finney © 2005–2010 Jens Luetkens © 2003 Unai G License: GPL-3+ Files: debian/* Copyright: © 2009–2011 Ben Finney © 2005–2008 Sune Vuorela License: GPL-2+ License: GPL-2+ This is free software; you may copy, modify, and/or distribute this work under the terms of the GNU General Public License, version 2 or later. No warranty expressed or implied. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in ‘/usr/share/common-licenses/GPL-2’. License: GPL-3+ This work 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 3 of the License, or (at your option) any later version. . This work 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. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in ‘/usr/share/common-licenses/GPL-3’. debian/wrap-cursor-themes0000755000000000000000000000204212011473571012662 0ustar #! /bin/sh # # debian/wrap-cursor-themes # # Copyright © 2010 Ben Finney # Copyright © 2005–2008 Sune Vuorela # # This is free software; you may copy, modify, and/or distribute this work # under the terms of the GNU General Public License, version 2 or later. # No warranty expressed or implied. # # On Debian systems, the complete text of version 2 of the GNU General # Public License can be found in ‘/usr/share/common-licenses/GPL-2’. # Create named wrapper theme files for each of the installed themes. set -e icons_builddir=${PACKAGE_BUILDDIR}/usr/share/icons wrapperdir=${PACKAGE_BUILDDIR}/etc/X11/cursors temp_theme=$(mktemp -t) for theme_dir in ${icons_builddir}/ComixCursors-* ; do theme_name=$(basename $theme_dir) theme_file=${theme_dir}/index.theme { grep -v Inherits $theme_file printf "Inherits = %s\n" $theme_name } > $temp_theme wrapped_theme=${wrapperdir}/${theme_name}.theme install -m 644 $temp_theme $wrapped_theme done rm $temp_theme debian/package-mapping0000644000000000000000000000027412011473571012141 0ustar comixcursors-righthanded:ComixCursors- comixcursors-lefthanded:ComixCursors-LH- comixcursors-righthanded-opaque:ComixCursors-Opaque- comixcursors-lefthanded-opaque:ComixCursors-LH-Opaque- debian/patches/0000755000000000000000000000000012011473571010616 5ustar debian/patches/01-custom-destdir.patch0000644000000000000000000000662712011473571015036 0ustar Description: Use standard ‘DESTDIR’ environment variable to override destination directory. Origin: Created to fix build issues in Debian packaging of multiple binary packages. Author: Ben Finney Last-Update: 2010-06-13 === modified file 'Makefile' --- old/Makefile 2010-06-03 02:52:32 +0000 +++ new/Makefile 2010-06-13 04:54:24 +0000 @@ -27,7 +27,6 @@ CURSORSNAME = ComixCursors PACKAGENAME ?= ${CURSORSNAME} SUMMARY ?= The original Comix Cursors -ICONSDIR ?= ${HOME}/.icons THEMENAME ?= custom GENERATED_FILES := @@ -49,8 +48,14 @@ xcursor_builddir = cursors distdir = dist -destdir = ${ICONSDIR}/${CURSORSNAME}-${THEMENAME} -xcursor_destdir = ${destdir}/cursors +ifdef DESTDIR +icons_destdir = ${DESTDIR}/usr/share/icons +else +icons_destdir = ${HOME}/.icons +endif + +theme_destdir = ${icons_destdir}/${CURSORSNAME}-${THEMENAME} +xcursor_destdir = ${theme_destdir}/cursors template_configfile = ${configdir}/custom.CONFIG template_themefile = ${configdir}/custom.theme @@ -89,22 +94,22 @@ .PHONY: install install: all # Create necessary directories. - install -d "${ICONSDIR}" "${ICONSDIR}/default" - $(RM) -r "${destdir}" + install -d "${icons_destdir}" "${icons_destdir}/default" + $(RM) -r "${theme_destdir}" install -d "${xcursor_destdir}" # Install the cursors. install -m u=rw,go=r "${xcursor_builddir}"/* "${xcursor_destdir}" # Install the theme configuration file. - install -m u=rw,go=r "${themefile}" "${destdir}"/index.theme + install -m u=rw,go=r "${themefile}" "${theme_destdir}"/index.theme # Install alternative name symlinks for the cursors. $(LINK_CURSORS) "${xcursor_destdir}" .PHONY: uninstall uninstall: - $(RM) -r "${destdir}" + $(RM) -r "${theme_destdir}" .PHONY: custom-theme === modified file 'build-distribution' --- old/build-distribution 2010-06-03 02:25:26 +0000 +++ new/build-distribution 2010-06-13 04:54:24 +0000 @@ -43,6 +43,7 @@ printf "Packaging %s %s...\n" "$themename_root" $VERSION workdir="$(mktemp -t -d)" +DESTDIR="${workdir}/dest" # # source package @@ -68,10 +69,9 @@ printf "Installing cursor files...\n" # Make a temporary directory for installing icons into. -ICONSDIR="${workdir}/icons" -export ICONSDIR -mkdir --parents "${ICONSDIR}" +icons_destdir="${DESTDIR}/usr/share/icons" +export DESTDIR ./install-all function package_variant { @@ -93,7 +93,7 @@ packagedir="${workdir}/${PACKAGENAME}" mkdir --parents "$packagedir" - mv "${ICONSDIR}/${PACKAGENAME}"* "$packagedir"/. + mv "${icons_destdir}/${PACKAGENAME}"* "$packagedir"/. tarfile="${distdir}/${PACKAGENAME}-${VERSION}.tar.bz2" tar -cjf "$tarfile" --directory "$packagedir" --files-from <( === modified file 'install-all' --- old/install-all 2010-06-02 11:53:50 +0000 +++ new/install-all 2010-06-13 04:54:24 +0000 @@ -27,10 +27,6 @@ bindir="$(dirname $0)"/bin -# Set the ICONSDIR destination to a default (if not already set). -ICONSDIR=${ICONSDIR:-~/.icons} -export ICONSDIR - # argument processing and usage function show_usage_message { cat <<_EOT_ @@ -66,9 +62,9 @@ # Build the cursors for a particular theme. THEMENAME="$1" - destdir="${ICONSDIR}/${themename_stem}-${THEMENAME}" - if [ -d "${destdir}" ] ; then - rm -r "${destdir}" + theme_destdir="${DESTDIR}/${themename_stem}-${THEMENAME}" + if [ -d "${theme_destdir}" ] ; then + rm -r "${theme_destdir}" fi export THEMENAME debian/patches/02-rsvg-convert.patch0000644000000000000000000000120712011473571014515 0ustar Description: Switch from deprecated ‘rsvg(1)’ to ‘rsvg-convert(1)’. Origin: Created to fix Debian bug#666473. Author: Ben Finney Last-Update: 2012-08-11 === modified file 'bin/render-cursor-image' --- old/bin/render-cursor-image 2010-06-02 11:53:50 +0000 +++ new/bin/render-cursor-image 2012-08-11 07:10:46 +0000 @@ -158,10 +158,10 @@ local outfile="$2" local size=$3 - rsvg --format png \ + rsvg-convert --format png \ --dpi-x 72 --dpi-y 72 \ --width $size --height $size \ - "$infile" "$outfile" + "$infile" > "$outfile" } function make_shadow_image { debian/patches/series0000644000000000000000000000005612011473571012034 0ustar 01-custom-destdir.patch 02-rsvg-convert.patch debian/compat0000644000000000000000000000000212011473571010365 0ustar 7 debian/control0000644000000000000000000000726712011473571010606 0ustar Source: comixcursors Section: x11 Priority: optional Maintainer: Ben Finney VCS-bzr: http://bzr.debian.org/collab-maint/comixcursors/comixcursors.debian/ VCS-Browser: http://bzr.debian.org/loggerhead/collab-maint/comixcursors/comixcursors.debian/ Build-Depends: bc, librsvg2-bin, imagemagick, x11-apps, debhelper (>= 8.1) Standards-Version: 3.9.3 Homepage: http://opendesktop.org/content/show.php/ComixCursors?content=32627 Package: comixcursors Architecture: all Depends: comixcursors-righthanded, ${misc:Depends} Section: oldlibs Priority: extra Description: transitional dummy package ComixCursors is a set of mouse pointer themes for X11 in the style of comic-book art. . This package is transitional to install the right-handed, translucent cursor set, which is now in the ‘comixcursors-righthanded’ package. Package: comixcursors-righthanded Architecture: all Depends: ${misc:Depends} Suggests: comixcursors-lefthanded, comixcursors-righthanded-opaque, comixcursors-lefthanded-opaque Provides: comixcursors Replaces: comixcursors (<< 0.7) Breaks: comixcursors (<< 0.7) Description: X11 mouse pointer themes with a comic art feeling (RH, translucent) ComixCursors is a set of mouse pointer themes for X11 in the style of comic-book art. . The package includes cursor themes in a wide combination of variants: * 6 different colors (black, blue, green, orange, red, white) * 4 different sizes (small, regular, large, huge) * 2 different weights (slim, normal) . This package installs the “original” (right-handed, translucent) ComixCursors themes, and some additional “bonus” variants. Package: comixcursors-lefthanded Architecture: all Depends: ${misc:Depends} Suggests: comixcursors-righthanded, comixcursors-righthanded-opaque, comixcursors-lefthanded-opaque Breaks: comixcursors (<< 0.7) Description: X11 mouse pointer themes with a comic art feeling (LH, translucent) ComixCursors is a set of mouse pointer themes for X11 in the style of comic-book art. . The package includes cursor themes in a wide combination of variants: * 6 different colors (black, blue, green, orange, red, white) * 4 different sizes (small, regular, large, huge) * 2 different weights (slim, normal) . This package installs the left-handed, translucent ComixCursors themes. Package: comixcursors-righthanded-opaque Architecture: all Depends: ${misc:Depends} Suggests: comixcursors-righthanded, comixcursors-lefthanded, comixcursors-lefthanded-opaque Breaks: comixcursors (<< 0.7) Description: X11 mouse pointer themes with a comic art feeling (RH, opaque) ComixCursors is a set of mouse pointer themes for X11 in the style of comic-book art. . The package includes cursor themes in a wide combination of variants: * 6 different colors (black, blue, green, orange, red, white) * 4 different sizes (small, regular, large, huge) * 2 different weights (slim, normal) . This package installs the right-handed, opaque ComixCursors themes. Package: comixcursors-lefthanded-opaque Architecture: all Depends: ${misc:Depends} Suggests: comixcursors-righthanded, comixcursors-lefthanded, comixcursors-righthanded-opaque Breaks: comixcursors (<< 0.7) Description: X11 mouse pointer themes with a comic art feeling (LH, opaque) ComixCursors is a set of mouse pointer themes for X11 in the style of comic-book art. . The package includes cursor themes in a wide combination of variants: * 6 different colors (black, blue, green, orange, red, white) * 4 different sizes (small, regular, large, huge) * 2 different weights (slim, normal) . This package installs the left-handed, opaque ComixCursors themes. debian/source/0000755000000000000000000000000012011473571010467 5ustar debian/source/format0000644000000000000000000000001412011473571011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001653412011473571011052 0ustar comixcursors (0.7.2-3) unstable; urgency=low * The “Falling Slowly” release. * debian/control: + Declare “Standards-Version: 3.9.3”. No further changes required. * debian/patches/02-rsvg-convert.patch: + Switch from deprecated ‘rsvg(1)’ to ‘rsvg-convert(1)’. Closes: bug#666473. -- Ben Finney Sun, 12 Aug 2012 01:16:32 +1000 comixcursors (0.7.2-2) unstable; urgency=low * The “Midgard serpent” release. * debian/control: + Set “Priority: extra” for transitional binary package ‘comixcursors’. * debian/control, debian/rules: + Conform to “Standards-Version: 3.9.2”. + Add recommended build targets. + Increase minimum Debhelper version to support the new build targets. * debian/templates/docs.template: + ‘NEWS’ file already being installed as upstream changelog. -- Ben Finney Sun, 31 Jul 2011 18:57:43 +1000 comixcursors (0.7.2-1) unstable; urgency=low * New upstream version. * Remove patches applied upstream: + debian/patches/02-qt-cursor-links.patch -- Ben Finney Sun, 27 Feb 2011 09:36:21 +1100 comixcursors (0.7.1-1) unstable; urgency=low * The “Mackie Messer” release. * New upstream version. * debian/patches/02-qt-cursor-links.patch: + Add all missing cursor links from Qt4 documentation. (Closes: Bug#593890). * debian/control: + Produce a dummy transitional ‘comixcursors’ binary package. * Produce many per-binary-package Debian packaging files from templates. * debian/copyright: + Update information and format to current DEP-5 candidate format. -- Ben Finney Wed, 23 Feb 2011 13:21:10 +1100 comixcursors (0.7-3) unstable; urgency=low * The “Celtissisme” release. * debian/rules: + We manage the build area manually, so use the ‘clean’ target to manually clean up. -- Ben Finney Fri, 06 Aug 2010 00:30:58 +1000 comixcursors (0.7-2) unstable; urgency=low * The “Les sanglots longs” release. * debian/patches/01-custom-destdir.patch: + Use standard ‘DESTDIR’ variable for customising top-level install directory. * debian/control: + Update Homepage to descriptive URL. + Remove “Depends: ${shlibs:Depends}”, there are no executable files. * debian/control, debian/rules, debian/*.install, debian/*.docs: + Conform to “Standards-Version: 3.9.1”. No further changes needed. + Install documentation. + Split into multiple binary packages, aligned with upstream's groupings (RH translucent, LH translucent, RH opaque, LH opaque). * debian/preinst: + Handle the case where no cursor themes are yet installed (Closes: Bug#591595). -- Ben Finney Thu, 05 Aug 2010 08:48:20 +1000 comixcursors (0.7-1) unstable; urgency=low * The “Gourou” release. * New upstream version. Highlights since previous release: + Build “Opaque” and “Left Handed” variants from one source package. + License changed to GPLv3 or later. * debian/copyright: + Update copyright information and upstream identities. * debian/patches/: + Remove, all existing patches incorporated upstream in this version. * debian/control: + Declare VCS-Browser URL for Debian packaging source. + Update description for currently-included variants. * debian/compat: + Declare ‘debhelper’ compatibility version 7. * debian/postinst, debian/prerm: + Handle all of the cursor themes installed by this package. * debian/rules: + Use new names for upstream files. + Adjust for changes in upstream build system. -- Ben Finney Tue, 08 Jun 2010 12:43:01 +1000 comixcursors (0.6.1-2) unstable; urgency=low * The “Clochettes” release. * debian/control: + “Build-Depends: librsvg2-bin” instead of inkscape. * debian/patches/03-convert-using-rsvg.patch: + Use ‘rsvg’ for conversion from SVG to PNG. -- Ben Finney Sun, 09 May 2010 13:01:22 +1000 comixcursors (0.6.1-1) unstable; urgency=low * The “Baladin” release. * Adopt this package; thanks Sune Vuorela for maintaining to date. (Closes: bug#532020). * New upstream version. Highlights since previous release: + Added red cursors. + Progress animation expanded to 24 frames. + Various fixes to cursors. * debian/copyright: + Format per draft DEP-5 machine-parseable format. + Update copyright information. * debian/source/format: + Switch to source format “3.0 (quilt)”. * debian/control: + Conform to “Standards-Version: 3.8.4”. No further changes needed. + Update URL for upstream home page. + Declare VCS URL for Debian packaging source. + Re-word the description for natural English-language style. * debian/watch: + Explain why we can't currently use ‘uscan’. * debian/patches/01-declare-bash-programs.patch: + Declare correct shebang line for Bash program ‘install-all.sh’. * debian/patches/02-custom-destination.patch: + Use an environment variable to override destination directory. * debian/control, debian/rules: + Switch to debhelper version 7 and ‘dh’. + Build from source using upstream's build system (Closes: bug#531625). This also reduces package size since many duplicated icon files now result in symlinks. -- Ben Finney Sat, 24 Apr 2010 09:19:08 +1000 comixcursors (0.5.0-1) unstable; urgency=low * The "finally I get around to look at Barry's work"-release * Based on very nice work done by Barry deFreese. * New upstream release (Closes: #448722) + Christmas theme removed and "Custom" added + Empty bz2 file no longer included (Closes: #392371) * Bump debhelper build-dep and compat to 5 * Remove comments from rules * Remove workaround to upstream issue introduced in 0.4.1-4 * Update maintainer scripts (Closes: #392657). This will trigger this bug on this upgrade, but only this time. + Don't remove and re-install all alternatives on upgrade + Remove themes no longer shipped in preinst and add new themes on upgrade * Move homepage field from description * Bump standards * Do stuff in binary-indep instead of binary-arch. Thanks lintian. -- Sune Vuorela Sun, 27 Jan 2008 02:03:46 +0100 comixcursors (0.4.1-4) unstable; urgency=low * Hacking around problems with gnome theme manager (Closes: #372572) -- Sune Vuorela Thu, 28 Sep 2006 15:59:19 +0200 comixcursors (0.4.1-3) unstable; urgency=low * fixing alternatives once more (Closes: #355890) -- Sune Vuorela Fri, 26 May 2006 23:34:56 +0000 comixcursors (0.4.1-2) unstable; urgency=low * Fixes typo in prerm (Closes: #364742) -- Sune Vuorela Wed, 26 Apr 2006 10:26:00 +0000 comixcursors (0.4.1-1) unstable; urgency=low * New upstream release * Moved out of /usr/X11R6 to /usr/share/icons (Closes: #362098) * Registering with the alternatives system; thanks to Bastian Venthur (Closes: #355890) -- Sune Vuorela Sat, 22 Apr 2006 17:15:13 +0000 comixcursors (0.3.2-1) unstable; urgency=low * Initial release Closes: #344520 -- Sune Vuorela Fri, 23 Dec 2005 11:57:22 +0000 debian/watch0000644000000000000000000000030712011473571010220 0ustar # The source files for ComixCursors are stored at a $FOO-Forge site # with awkward redirection done via HTML. Currently ‘uscan(1)’ is # unable to recognise or download these files automatically. debian/rules0000755000000000000000000000556612011473571010263 0ustar #! /usr/bin/make -f # debian/rules # Part of Debian ‘comixcursors’ package. # # Copyright © 2010–2011 Ben Finney # This is free software; you may copy, modify and/or distribute this work # under the terms of the GNU General Public License, version 2 or later. # No warranty expressed or implied. # See the file ‘/usr/share/common-licenses/GPL-2’ for details. PACKAGE_BUILDDIR = $(CURDIR)/debian/build INSTALLDIR = $(CURDIR)/debian/tmp ICONS_DIR = usr/share/icons icons_builddir = ${PACKAGE_BUILDDIR}/${ICONS_DIR} icons_wrapdir = ${PACKAGE_BUILDDIR}/etc/X11/cursors icons_installdir = ${INSTALLDIR}/${ICONS_DIR} icons_destdir = ${DESTDIR}/${ICONS_DIR} GENERATED_FILES := package_mapping = debian/package-mapping themeset_packages = $(shell cat ${package_mapping} | cut -d':' -f1) per_package_files = dirs docs install preinst postinst prerm lintian-overrides INSTALL = install WRAP_THEMES = ./debian/wrap-cursor-themes .PHONY: build build: build-indep build-arch dh $@ .PHONY: build-indep build-indep: build-stamp dh $@ .PHONY: build-arch build-arch: build-stamp dh $@ build-stamp: export DESTDIR=${PACKAGE_BUILDDIR} build-stamp: $(INSTALL) -d ${PACKAGE_BUILDDIR} .PHONY: clean clean: $(RM) -r ${PACKAGE_BUILDDIR}/* $(RM) ${GENERATED_FILES} dh $@ .PHONY: install install: build $(foreach package,${themeset_packages},install-${package}-stamp) $(INSTALL) -d ${icons_wrapdir} chmod +x ${WRAP_THEMES} PACKAGE_BUILDDIR=${PACKAGE_BUILDDIR} $(WRAP_THEMES) dh $@ GENERATED_FILES += install-*-stamp GENERATED_FILES += $(foreach suffix,${per_package_files},debian/*.${suffix}) install-%-stamp: themeset_prefix = $(shell cat ${package_mapping} | grep "^$*:" | cut -d':' -f2) install-%-stamp: echo "* Generating files for package ‘$*’ (themeset prefix “${themeset_prefix}”)" for n in ${per_package_files} ; do \ sed \ -e "s:@THEMESET_PREFIX@:${themeset_prefix}:" \ -e "s:@PACKAGE@:$*:" \ debian/templates/$$n.template > debian/$*.$$n ; \ done touch "$@" .PHONY: binary-indep binary-indep: build install dh $@ .PHONY: binary-arch binary-arch: build install .PHONY: binary binary: build binary-indep binary-arch .PHONY: override_dh_auto_clean override_dh_auto_clean: # Skip auto-detection of build tool. make clean .PHONY: override_dh_auto_build override_dh_auto_build: # Skip auto-detection of build tool. DESTDIR=${PACKAGE_BUILDDIR} ./install-all rmdir ${icons_builddir}/default .PHONY: override_dh_auto_test override_dh_auto_test: # Skip auto-detection of build tool. .PHONY: override_dh_auto_install override_dh_auto_install: # Skip auto-detection of build tool. $(INSTALL) -d ${INSTALLDIR} cp -a ${PACKAGE_BUILDDIR}/. ${INSTALLDIR}/. .PHONY: override_dh_installchangelogs override_dh_installchangelogs: dh_installchangelogs NEWS # Local variables: # mode: makefile # coding: utf-8 # End: # vim: filetype=make fileencoding=utf-8 :