File: rules

package info (click to toggle)
imgui 1.92.2b%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,620 kB
  • sloc: cpp: 63,855; makefile: 775; xml: 21; sh: 2
file content (22 lines) | stat: -rwxr-xr-x 640 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic -O3
export DEB_LDFLAGS_MAINT_APPEND =

include /usr/share/dpkg/pkg-info.mk

export VERSION := $(shell echo $(DEB_VERSION_UPSTREAM) | sed 's/+[a-z]*//')
export MULTIARCH := $(DEB_HOST_MULTIARCH)


%:
	dh $@

execute_after_dh_installexamples:
	$(RM) \
		debian/libimgui-dev/usr/share/doc/libimgui-dev/examples/backends/*.h \
		debian/libimgui-dev/usr/share/doc/libimgui-dev/examples/backends/*.o \
		debian/libimgui-dev/usr/share/doc/libimgui-dev/examples/example_android_opengl3/android/.gitignore