#!/usr/bin/make -f ENABLED_PLUGINS = "\ album,\ autoprofile,\ autoreply,\ bash,\ blistops,\ capsnot,\ colorize,\ convbadger,\ dewysiwygification,\ dice,\ difftopic,\ eight_ball,\ enhancedhist,\ flip,\ gRIM,\ google,\ groupmsg,\ highlight,\ icon-override,\ ignore,\ infopane,\ irchelper,\ irc-more,\ irssi,\ lastseen,\ listhandler,\ listlog,\ mystatusbox,\ ning,\ napster,\ nicksaid,\ okcupid,\ oldlogger,\ omegle,\ plonkers,\ schedule,\ sepandtab,\ simfix,\ slashexec,\ snpp,\ splitter,\ sslinfo,\ switchspell,\ timelog,\ translate,\ xchat-chats,\ xmppprio" # These plugins are not built: # awaynotify # bit # buddytime # chronic # findip # gntsmartear # gtkbuddytime # gtksmartear # hideconv # ignorance # msglen # nomobility # showoffline # smartear # stocker # stress # talkfilters # xmmsremote empty := space := $(empty) $(empty) %: dh $@ --parallel --with autoreconf override_dh_auto_configure: dh_auto_configure -- --libdir=\$${prefix}/lib --with-plugins=$(subst $(space),,$(ENABLED_PLUGINS)) override_dh_auto_install: dh_auto_install # we don't need the .la files rm $(CURDIR)/debian/pidgin-plugin-pack/usr/lib/pidgin/*.la rm $(CURDIR)/debian/pidgin-plugin-pack/usr/lib/purple-2/*.la override_dh_makeshlibs: # don't call as plugins are private libraries