diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-03-18 12:37:56 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-03-23 17:51:08 +0100 |
commit | ad7e4e55d198239e75813dc19f8ed3f2e511964c (patch) | |
tree | 38c9dc8143054ab4253b0209bb8acfdb05e53ce8 /dilos/tdelibs/debian | |
parent | 52f56f4a11887b560b94e15b2f7e59b088d3b5be (diff) | |
download | tde-packaging-ad7e4e55d198239e75813dc19f8ed3f2e511964c.tar.gz tde-packaging-ad7e4e55d198239e75813dc19f8ed3f2e511964c.zip |
DEB: Create a .tdepkginfo containing package metadata.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'dilos/tdelibs/debian')
-rw-r--r-- | dilos/tdelibs/debian/cdbs/debian-tde.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dilos/tdelibs/debian/cdbs/debian-tde.mk b/dilos/tdelibs/debian/cdbs/debian-tde.mk index e5b9a8be3..a989c54bd 100644 --- a/dilos/tdelibs/debian/cdbs/debian-tde.mk +++ b/dilos/tdelibs/debian/cdbs/debian-tde.mk @@ -113,6 +113,14 @@ ifndef _cdbs_class_cmake endif debian/rules clean +.tdepkginfo: + echo "# TDE package information" >.tdepkginfo + dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo + dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo + date +"DateTime: %m/%d/%Y %H:%M" -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo + +post-patches:: .tdepkginfo + common-build-arch:: debian/stamp-man-pages debian/stamp-man-pages: if ! test -d debian/man/out; then mkdir -p debian/man/out; fi @@ -212,6 +220,7 @@ ifndef _cdbs_class_cmake subdirs; \ fi endif + rm -f .tdepkginfo rm -f debian/stamp-kde-apidox rm -f debian/stamp-cvs-make |