X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=debian%2Frules;h=6357268d538253448d1faac96ab6b0b8ad6342c1;hp=e02ea9066f39cb81dac090c504e3b7630dd639d7;hb=ff3f1e25ff2f6ea88aa2fd89a1167361589e422d;hpb=1b2c10f57b0257aac61a696378e9c8c05df8bf4f;ds=sidebyside diff --git a/debian/rules b/debian/rules index e02ea906..6357268d 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,7 @@ # dgit # Integration between git and Debian-style archives # -# Copyright (C)2013 Ian Jackson +# Copyright (C)2013-2015 Ian Jackson # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -33,3 +33,9 @@ override_dh_gencontrol: override_dh_auto_install: make install prefix=/usr DESTDIR=debian/dgit make install-infra prefix=/usr DESTDIR=debian/dgit-infrastructure + +debian/tests/control: tests/enumerate-tests debian/tests/control.in + $< gencontrol >$@.new && mv -f $@.new $@ + +debian/tests/control: tests/lib-core tests/lib-restricts +debian/tests/control: tests/tests $(wildcard tests/tests/*[^~#])