File: rules

package info (click to toggle)
pencil2d 0.6.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,056 kB
  • sloc: cpp: 44,845; python: 67; sh: 62; xml: 23; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 333 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export QT_SELECT=qt5

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

%:
	dh $@