File: rules

package info (click to toggle)
slgsl 0.10.0~pre.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,408 kB
  • sloc: ansic: 9,644; sh: 3,149; makefile: 258
file content (25 lines) | stat: -rwxr-xr-x 542 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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

export AUTOHEADER = true
execute_after_dh_autoreconf:
	mv autoconf/configure .

override_dh_auto_build:
	dh_auto_build -- RPATH=

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	SLSH_PATH=. $(MAKE) check
endif

ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
DOCDIR = ./debian/slang-gsl/usr/share/doc/slang-gsl
execute_after_dh_installdeb:
	pandoc $(DOCDIR)/index.html -t markdown -o $(DOCDIR)/README-doc.md
	rm -f $(DOCDIR)/index.html
endif