diff options
author | Calvin Morrison <mutantturke@gmail.com> | 2011-11-13 19:27:09 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturke@gmail.com> | 2011-11-13 19:27:09 -0500 |
commit | b04ad86203e19f0e89e971fefc3f40b380cbe7b2 (patch) | |
tree | 639782b440de136501ae6ee50d8d54450765346f /ubuntu/maverick/tdeartwork/debian/cdbs/uploaders.mk | |
parent | 7123ebd91f9851d8a0479d043508ec5885e24f91 (diff) | |
parent | 70daaabb4fd5f3b559f5ef489377c9fe93a47f0d (diff) | |
download | tde-packaging-b04ad86203e19f0e89e971fefc3f40b380cbe7b2.tar.gz tde-packaging-b04ad86203e19f0e89e971fefc3f40b380cbe7b2.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/maverick/tdeartwork/debian/cdbs/uploaders.mk')
-rw-r--r-- | ubuntu/maverick/tdeartwork/debian/cdbs/uploaders.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ubuntu/maverick/tdeartwork/debian/cdbs/uploaders.mk b/ubuntu/maverick/tdeartwork/debian/cdbs/uploaders.mk new file mode 100644 index 000000000..31adfe31e --- /dev/null +++ b/ubuntu/maverick/tdeartwork/debian/cdbs/uploaders.mk @@ -0,0 +1,29 @@ + +MAINTAINER=Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> +UPLOADERS=$(shell grep -e +++ -e "^ -- " debian/changelog | grep -v "debian-qt-kde@lists.debian.org" | head -13 | /bin/sed 's/^\s*//;s/\s*$$//;s/^+++\? Changes by //;s/^+++\? //;s/-- //;s/:$$//;s/ <.*//' | sort -u | while read line ; do grep "$$line" debian/cdbs/team-members ; done | tr "\n" ", " | sed 's/,/, /g;s/, $$//') + + +debian/control.tmp: + @if [ ! -e debian/control.in ] ; then \ + echo "this package is not yet prepared for using automatic update of uploaders"; \ + echo "Please do so."; \ + exit 1; \ + fi + @sed 's/@@@UPLOADERS@@@/$(UPLOADERS)/;s#@@@MAINTAINER@@@#$(MAINTAINER)#' debian/control.in > debian/control.tmp + +check-uploaders: debian/control.tmp + @if ! diff -q debian/control debian/control.tmp ; then \ + echo "WARNING:: Control file differs from manually generated one" ; \ + echo "WARNING:: Please update it manually and check it afterwards" ; \ + echo "WARNING:: Uploaders are updated by debian/rules update-uploaders" ;\ + echo "WARNING:: If this is a binNMU, NMU or security upload, just ignore" ;\ + fi + + +clean:: + rm -f debian/control.tmp + +update-uploaders: debian/control.tmp + @mv -f debian/control.tmp debian/control + +makebuilddir:: check-uploaders |