File: rules

package info (click to toggle)
sope 4.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 16,504 kB
  • sloc: objc: 168,039; sh: 3,648; ansic: 3,405; javascript: 446; python: 318; makefile: 189
file content (35 lines) | stat: -rwxr-xr-x 781 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_clean:
	touch config.make
	#$(MAKE) distclean
	dh_auto_clean

override_dh_auto_configure:
	./configure --disable-strip --with-gnustep --with-ssl=gnutls

override_dh_auto_build:
	$(MAKE) all messages=yes OBJCFLAGS="$(CFLAGS)"

override_dh_auto_install:
	GNUSTEP_MAKEFILES=/usr/share/GNUstep/Makefiles $(MAKE) install \
		messages=yes OBJCFLAGS="$(CFLAGS)" \
		DESTDIR=$(CURDIR)/debian/tmp/ \
		GNUSTEP_INSTALLATION_DOMAIN=SYSTEM

# This will make sure that the SOGo binary packages will always depend
# on the latest SOPE
override_dh_makeshlibs:
	dh_makeshlibs -V

override_dh_link:
	gsdh_gnustep
	dh_link