debian swirl logo

Back to the packages list pidgin-extprefs

#!/usr/bin/make -f

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/dpatch.mk

# Don't run unnecessary ldconfig on postinst and postrm.
DEB_DH_MAKESHLIBS_ARGS_pidgin-extprefs= -n

update-debian-control::
ifeq (, $(findstring yes, $(DEB_AUTO_UPDATE_DEBIAN_CONTROL)))
	DEB_AUTO_UPDATE_DEBIAN_CONTROL= yes $(MAKE) -f debian/rules \
		debian/control
endif

clean::
		dh_testdir
		rm -f extprefs_config.h

install/pidgin-extprefs::
		dh_pidgin -ppidgin-extprefs

binary-post-install/pidgin-extprefs::
		rm debian/pidgin-extprefs/usr/share/doc/pidgin-extprefs/README
		rm debian/pidgin-extprefs/usr/lib/pidgin/libextprefs.a
		rm debian/pidgin-extprefs/usr/lib/pidgin/libextprefs.la

binary-post-install/gaim-extendedprefs::
		rm debian/gaim-extendedprefs/usr/share/doc/gaim-extendedprefs/README
		rm debian/gaim-extendedprefs/usr/share/doc/gaim-extendedprefs/TODO
		rm debian/gaim-extendedprefs/usr/share/doc/gaim-extendedprefs/AUTHORS
		rm debian/gaim-extendedprefs/usr/share/doc/gaim-extendedprefs/changelog
		rm debian/gaim-extendedprefs/usr/share/doc/gaim-extendedprefs/NEWS

.PHONY: update-debian-control

Builds:

gaim-extendedprefs
plugin for the instant messenger pidgin (transitional package)
pidgin-extprefs
extended preferences plugin for the instant messenger pidgin