File: rules

package info (click to toggle)
pencil2d 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,664 kB
  • sloc: cpp: 58,635; xml: 349; makefile: 8
file content (16 lines) | stat: -rwxr-xr-x 518 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

# export information for the "About" screen
include /usr/share/dpkg/pkg-info.mk
timestamp=$(shell date +%Y-%m-%d -u -d "@$(SOURCE_DATE_EPOCH)")
export DEB_CXXFLAGS_MAINT_APPEND += -DGIT_TIMESTAMP=\\\"$(timestamp)\\\"

# needed by qmake to properly handle the non-ascii filenames in the test files
# https://stackoverflow.com/questions/44783373/qt-non-ascii-characters-in-file-names-are-replaced-by
export LANG = C.UTF-8

%:
	dh $@