File: rules

package info (click to toggle)
galeon 2.0.6-2.1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 19,156 kB
  • ctags: 9,680
  • sloc: ansic: 77,798; cpp: 13,928; sh: 9,000; xml: 5,761; makefile: 901
file content (29 lines) | stat: -rwxr-xr-x 930 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
27
28
29
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/gnome.mk

DISTRIBUTOR := $(shell lsb_release -is)

# Tweak User-Agent which users might also see in the "about:" page; this is
# information disclosure, but we want the User-Agent to reflect the OS for
# stats such as Netcraft's
USERAGENT_VENDORSUB := $(DEB_UPSTREAM_VERSION) ($(DISTRIBUTOR) $(DEB_VERSION))

DEB_CONFIGURE_EXTRA_FLAGS += \
	--enable-nautilus-view=no \
	--with-mozilla=libxul-embedding-unstable \
	--with-useragent-vendorsub="$(USERAGENT_VENDORSUB)"

LDFLAGS += -Wl,-z,defs -Wl,--as-needed

common-install-indep::
	# decode new icons, replace sucky icons
	for i in $(wildcard $(CURDIR)/debian/pixmaps/*.uue); do \
	    uudecode \
	        -o $(CURDIR)/debian/tmp/usr/share/galeon/`basename $$i .uue` \
	        $$i; \
	done