File: rules

package info (click to toggle)
slgsl 0.10.0~pre.6-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,404 kB
  • sloc: ansic: 9,644; sh: 3,149; makefile: 252
file content (21 lines) | stat: -rwxr-xr-x 456 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
#!/usr/bin/make -f

%:
	dh $@ --no-parallel

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

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