~ubuntu-branches/debian/stretch/win32-loader/stretch

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Didier Raboud, Jérémy Bobbio
  • Date: 2015-04-29 09:25:43 UTC
  • Revision ID: package-import@ubuntu.com-20150429092543-le45hrq81p65v9ww
Tags: 0.7.10
[ Jérémy Bobbio ]
* Make package build reproducibly:
  - Don't insert timestamps when building NSIS DLLs
  - Allow to set build date externally
  - Reset embedded file modification times to the build date
  - Set build date in debian/rules to the latest debian/changelog entry
* Makefile syntax fix in PXE targets definition

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# Install the win32-loader-standalone.exe as debian/tools/win32-loader/$(SUITE)/win32-loader.exe on the mirrors
4
4
BYHAND ?= yes
5
5
 
 
6
BUILD_DATE := $(shell dpkg-parsechangelog -S Date)
 
7
 
6
8
W32_VERSION := $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
7
9
W32_BYHAND_NAME := win32-loader_$(W32_VERSION)_all
8
10
 
41
43
        STANDALONE=yes \
42
44
                PXE=yes \
43
45
                OUTFILE_NAME=$(W32_BYHAND_NAME).exe \
 
46
                BUILD_DATE="$(BUILD_DATE)" \
44
47
                dh_auto_build
45
48
        
46
49
        # Prepare the README file
52
55
endif
53
56
        # Build the cdrom version
54
57
        OUTFILE_NAME=win32-loader.exe \
 
58
                BUILD_DATE="$(BUILD_DATE)" \
55
59
                dh_auto_build
56
60
 
57
61
override_dh_auto_clean: