File: rules

package info (click to toggle)
nautilus-image-converter 0.3.1~git20110416-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,056 kB
  • ctags: 370
  • sloc: sh: 11,131; ansic: 814; makefile: 53
file content (26 lines) | stat: -rwxr-xr-x 531 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
23
24
25
26
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

%:
	dh $@ --with autotools_dev

override_dh_install:
	rm `find $(CURDIR)/debian -name '*.la'`
	dh_install

override_dh_makeshlibs:
	#Pass, the .so is a plugin, not a library.