Name psutils
Description PostScript document handling utilities
Version 1.17.dfsg-4build1
Package Base
Homepage https://github.com/rrthomas/psutils
Maintainers ['Ian Jackson <ijackson@chiark.greenend.org.uk>', 'Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/psutils/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/bboxesandsizes.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/gnome-printing.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/misc.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/off_t.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/psjoin.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/psmerge-manpage.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/psmerge-use-ps2write?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/psmerge.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/psnup1-fix-manpage-syntax-error.--closes?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/psnup1-remove-a-confusing-and-unnecessar?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/pstops1-remove-unneeded-backslash.--clos?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/psutils-flip.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/remove-fixmacps.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/patches/showchar-manpage.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psutils/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'libpaper1']
Optional-Dependencies ['ghostscript']
Build-Dependencies ['cdbs', 'debhelper', 'libpaper-dev']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 1b85b53c33569264ff4919a928457a4feaec5411e231e8c3dc15e889d3e24203
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/architecture.mk
ifeq ($(origin CC),default)
CC = $(DEB_HOST_GNU_TYPE)-gcc
endif

# Include cdbs rules files.
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/debhelper.mk

CURDIR := $(shell pwd)
DEB_MAKE_CLEAN_TARGET = realclean
DEB_MAKE_BUILD_TARGET = prefix=/usr CC=$(CC) all
DEB_MAKE_INSTALL_TARGET = prefix=$(CURDIR)/debian/psutils/usr \
	  MANDIR=$(CURDIR)/debian/psutils/usr/share/man/man1 \
	  install

CPPFLAGS += -DDEBIAN -DUNIX
VERSION := $(shell dpkg-parsechangelog | \
             awk '/Version:/ {print $$2}' | cut -d- -f 1)

clean::
	$(RM) showchar.1

common-install-prehook-arch::
	mkdir -p debian/psutils/usr/bin \
		debian/psutils/usr/lib \
		debian/psutils/usr/share/man/man1 \

install/psutils::
	cp psjoin debian/psutils/usr/bin
	chmod +x debian/psutils/usr/bin/psjoin
	cp psjoin.1 debian/psutils/usr/share/man/man1