diff options
author | Timothy Pearson <[email protected]> | 2013-01-27 02:00:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-27 02:00:00 -0600 |
commit | ce12f9fa05fe43b5878f3189e747e31bbb60c7f7 (patch) | |
tree | d413f990a9bf730db9626ccd8d1543e9ceca2b92 /ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/uploaders.mk | |
parent | 906a58edb15cf66653ed0974d1507b5ff6acd65d (diff) | |
download | tde-packaging-ce12f9fa05fe43b5878f3189e747e31bbb60c7f7.tar.gz tde-packaging-ce12f9fa05fe43b5878f3189e747e31bbb60c7f7.zip |
Update Debian and Ubuntu packaging with the latest renaming in GIT
Diffstat (limited to 'ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/uploaders.mk')
-rw-r--r-- | ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/uploaders.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/uploaders.mk b/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/uploaders.mk new file mode 100644 index 000000000..31adfe31e --- /dev/null +++ b/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/uploaders.mk @@ -0,0 +1,29 @@ + +MAINTAINER=Debian Qt/KDE Maintainers <[email protected]> +UPLOADERS=$(shell grep -e +++ -e "^ -- " debian/changelog | grep -v "[email protected]" | 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 |