File: rules

package info (click to toggle)
libsoldout 1.4-5
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 348 kB
  • sloc: ansic: 3,163; sh: 33; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 379 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
#!/usr/bin/make -f
#DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
ifeq ($(CC),clang)
    export DEB_CFLAGS_MAINT_STRIP=-pie
endif

%:
	dh $@

override_dh_installman:
	ln -fs mkd2html.1 markdown2html.1
	ln -fs mkd2latex.1 markdown2latex.1
	ln -fs mkd2man.1 markdown2man.1
	dh_installman

override_dh_auto_clean:
	find . -name "markdown2*.1" -delete
	dh_auto_clean