1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
#!/usr/bin/make -f
#
# Rules file for gnome-do-plugins
#
#export DH_VERBOSE=1
include /usr/share/cli-common/cli.make
include /usr/share/dpatch/dpatch.make
build: build-stamp
build-stamp:
dh build --before configure
# disable some plugins as requested by upstream
dh_auto_configure -- --disable-banshee-plugin --disable-amarok-plugin
dh build --after configure
touch $@
clean: unpatch
dh $@
install: build
dh $@
binary: binary-indep
dh $@
binary-indep: install
dh $@
# provide a target, it does nothing but depend upon build as per policy
binary-arch: build
# Makefile arcanery warning:
# $(dir $(_)) gives us the path containing this rules file.
# I haven't found this documented in any make documentation, so I am unsure
# how portable/version independent it is.
# This magic care of Emmet Hickory:
# (http://lists.debian.org/debian-devel-games/2008/02/msg00135.html)
get-orig-source:
uscan --download --package gnome-do-plugins --destdir=$(CURDIR) \
--no-symlink --upstream-version 0 --watchfile=$(dir $(_))/watch
%:
dh $@
|