File: rules

package info (click to toggle)
etoile 0%2B20080616%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,980 kB
  • sloc: objc: 9,087; sh: 259; makefile: 16
file content (25 lines) | stat: -rwxr-xr-x 730 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
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/GNUstep/debian/config.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
d_app := $(CURDIR)/debian/dictionaryreader.app
srcdir := Etoile/Services/User/DictionaryReader

%:
	dh $@ --sourcedirectory=$(srcdir)

override_dh_auto_build:
	dh_auto_build -- $(optim) $(verbose) \
	  $(shell dpkg-buildflags --export=cmdline)

override_dh_installchangelogs:
	dh_installchangelogs $(srcdir)/ChangeLog

execute_before_dh_link:
	gsdh_gnustep --app
# Fix lintian W: national-encoding.
	iconv -f ISO-8859-1 -t UTF-8 \
	  < $(srcdir)/Resources/Dictionaries/jargon/jargon.dict \
	  > $(d_app)/usr/share/GNUstep/DictionaryReader.app/jargon.dict