summaryrefslogtreecommitdiffstats
path: root/dilos/tdegraphics/debian/cdbs
diff options
context:
space:
mode:
Diffstat (limited to 'dilos/tdegraphics/debian/cdbs')
-rw-r--r--dilos/tdegraphics/debian/cdbs/debian-tde.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/dilos/tdegraphics/debian/cdbs/debian-tde.mk b/dilos/tdegraphics/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdegraphics/debian/cdbs/debian-tde.mk
+++ b/dilos/tdegraphics/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