File: rules

package info (click to toggle)
ikiwiki 3.20260201-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,068 kB
  • sloc: perl: 31,488; javascript: 16,668; python: 428; sh: 213; makefile: 124
file content (25 lines) | stat: -rwxr-xr-x 524 bytes parent folder | download | duplicates (4)
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 IKIWIKI_TEST_ASSUME_MODERN_DISCOUNT=1
export LC_ALL=C.UTF-8
export TZ=UTC

%:
	dh $@

override_dh_auto_configure:
	# keeps it out of /usr/local
	dh_auto_configure -- PREFIX=/usr

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	env -u LD_PRELOAD dh_auto_test
endif

override_dh_compress:
	# avoid compressing files in the doc wiki
	dh_compress -Xhtml

override_dh_auto_clean:
	# distclean moans about MANIFEST, this is quieter
	if [ -e Makefile ]; then $(MAKE) realclean; fi