File: rules

package info (click to toggle)
slowmovideo 0.5%2Bgit20190116-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 3,288 kB
  • sloc: cpp: 21,123; ansic: 449; python: 117; sh: 55; makefile: 9
file content (19 lines) | stat: -rwxr-xr-x 544 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
#export DH_VERBOSE = 1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
# package maintainers to append LDFLAGS
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ -Dsrc

override_dh_fixperms:
	dh_fixperms
	sed -i 1d debian/slowmovideo/usr/share/applications/*.desktop
	sed -i /MimeType=.*/d debian/slowmovideo/usr/share/applications/*.desktop