-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrules
More file actions
executable file
·27 lines (20 loc) · 810 Bytes
/
Copy pathrules
File metadata and controls
executable file
·27 lines (20 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
#CMake silently ignores CPPFLAGS. Below will properly set CFLAGS/CXXFLAGS
#https://wiki.debian.org/Hardening#Notes_for_packages_using_CMake
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
#BUILD_TREE=$(CURDIR)/build-tree
%:
dh $@ --parallel
override_dh_auto_configure:
# Generate icon
convert -resize 32x32 debian/bitfighter.png debian/bitfighter.xpm
dh_auto_configure
get-orig-source:
# Thanks to 'ras' on #debian-mentors. This works because all files
# excluded are in debian/copyright Files-Excluded field
uscan --force-download --destdir .