summaryrefslogtreecommitdiffstats
path: root/pkg/linux
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2018-05-21 13:21:19 -0700
committerJohn Stebbins <[email protected]>2018-05-21 13:21:19 -0700
commit06d1ee1eec79ce62517c8168e1614ed788b6b091 (patch)
treea53c6058b779c8cd0f904a787eebf159a4ef4c26 /pkg/linux
parent08ebb00c6932dd1043f54b41960db7a3f6d88c3e (diff)
LinGui: set the build date in the debian changelog
Ubuntu build servers appear to set the build machine date/time from this. So hard coding it to some random date is suboptimal. Fixes incorrect build date in the HandBrake version line of the activity log.
Diffstat (limited to 'pkg/linux')
-rw-r--r--pkg/linux/module.rules10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkg/linux/module.rules b/pkg/linux/module.rules
index 1c90c0137..82eaa34ea 100644
--- a/pkg/linux/module.rules
+++ b/pkg/linux/module.rules
@@ -4,6 +4,8 @@ pkg.create.rpm:: $(PKG.rpm.stamp)
pkg.create.src.deb:: $(PKG.src.deb.stamp)
pkg.create.tar:: pkg.create $(PKG.cli.tar)
+DEBIAN_CHANGELOG_DATE = $(shell date -R)
+
#
# CLI Tar Package
#
@@ -132,7 +134,7 @@ $(PKG.src.deb.stamp): GNUmakefile
echo " * Snapshot" >> $(STAGE.out.src/)bionic/$(PKG.deb.basename)/debian/changelog
echo " - See commit history at https://github.com/HandBrake/HandBrake/commits/master" >> $(STAGE.out.src/)bionic/$(PKG.deb.basename)/debian/changelog
echo "" >> $(STAGE.out.src/)bionic/$(PKG.deb.basename)/debian/changelog
- echo " -- John Stebbins <[email protected]> Sun, 11 Apr 2010 9:51:07 -0800" >> $(STAGE.out.src/)bionic/$(PKG.deb.basename)/debian/changelog
+ echo " -- John Stebbins <[email protected]> " $(DEBIAN_CHANGELOG_DATE) >> $(STAGE.out.src/)bionic/$(PKG.deb.basename)/debian/changelog
$(TAR.exe) czf $(STAGE.out.src/)bionic/$(PKG.src.deb.tar) -C $(STAGE.out.src/)bionic $(PKG.deb.basename)
(cd $(STAGE.out.src/)bionic/$(PKG.deb.basename) && debuild -S -kjstebbins.hb)
$(MKDIR.exe) -p $(STAGE.out.src/)artful
@@ -146,7 +148,7 @@ $(PKG.src.deb.stamp): GNUmakefile
echo " * Snapshot" >> $(STAGE.out.src/)artful/$(PKG.deb.basename)/debian/changelog
echo " - See commit history at https://github.com/HandBrake/HandBrake/commits/master" >> $(STAGE.out.src/)artful/$(PKG.deb.basename)/debian/changelog
echo "" >> $(STAGE.out.src/)artful/$(PKG.deb.basename)/debian/changelog
- echo " -- John Stebbins <[email protected]> Sun, 11 Apr 2010 9:51:07 -0800" >> $(STAGE.out.src/)artful/$(PKG.deb.basename)/debian/changelog
+ echo " -- John Stebbins <[email protected]> " $(DEBIAN_CHANGELOG_DATE) >> $(STAGE.out.src/)artful/$(PKG.deb.basename)/debian/changelog
$(TAR.exe) czf $(STAGE.out.src/)artful/$(PKG.src.deb.tar) -C $(STAGE.out.src/)artful $(PKG.deb.basename)
(cd $(STAGE.out.src/)artful/$(PKG.deb.basename) && debuild -S -kjstebbins.hb)
$(MKDIR.exe) -p $(STAGE.out.src/)xenial
@@ -160,7 +162,7 @@ $(PKG.src.deb.stamp): GNUmakefile
echo " * Snapshot" >> $(STAGE.out.src/)xenial/$(PKG.deb.basename)/debian/changelog
echo " - See commit history at https://github.com/HandBrake/HandBrake/commits/master" >> $(STAGE.out.src/)xenial/$(PKG.deb.basename)/debian/changelog
echo "" >> $(STAGE.out.src/)xenial/$(PKG.deb.basename)/debian/changelog
- echo " -- John Stebbins <[email protected]> Sun, 11 Apr 2010 9:51:07 -0800" >> $(STAGE.out.src/)xenial/$(PKG.deb.basename)/debian/changelog
+ echo " -- John Stebbins <[email protected]> " $(DEBIAN_CHANGELOG_DATE) >> $(STAGE.out.src/)xenial/$(PKG.deb.basename)/debian/changelog
$(TAR.exe) czf $(STAGE.out.src/)xenial/$(PKG.src.deb.tar) -C $(STAGE.out.src/)xenial $(PKG.deb.basename)
(cd $(STAGE.out.src/)xenial/$(PKG.deb.basename) && debuild -S -kjstebbins.hb)
$(MKDIR.exe) -p $(STAGE.out.src/)trusty
@@ -174,6 +176,6 @@ $(PKG.src.deb.stamp): GNUmakefile
echo " * Snapshot" >> $(STAGE.out.src/)trusty/$(PKG.deb.basename)/debian/changelog
echo " - See commit history at https://github.com/HandBrake/HandBrake/commits/master" >> $(STAGE.out.src/)trusty/$(PKG.deb.basename)/debian/changelog
echo "" >> $(STAGE.out.src/)trusty/$(PKG.deb.basename)/debian/changelog
- echo " -- John Stebbins <[email protected]> Sun, 11 Apr 2010 9:51:07 -0800" >> $(STAGE.out.src/)trusty/$(PKG.deb.basename)/debian/changelog
+ echo " -- John Stebbins <[email protected]> " $(DEBIAN_CHANGELOG_DATE) >> $(STAGE.out.src/)trusty/$(PKG.deb.basename)/debian/changelog
$(TAR.exe) czf $(STAGE.out.src/)trusty/$(PKG.src.deb.tar) -C $(STAGE.out.src/)trusty $(PKG.deb.basename)
(cd $(STAGE.out.src/)trusty/$(PKG.deb.basename) && debuild -S -kjstebbins.hb)