File: rules

package info (click to toggle)
apngdis 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 116 kB
  • ctags: 82
  • sloc: ansic: 1,088; sh: 251; makefile: 18
file content (26 lines) | stat: -rwxr-xr-x 465 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
21
22
23
24
25
26
#!/usr/bin/make -f

PACKAGE = apngdis
BIN	= $(PACKAGE)
CC     ?= gcc
LIBS	= -lz

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
CFLAGS	+= -Wall -std=c99
LDFLAGS += -Wl,--as-needed

include debian/pod2man.mk

man:
	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman

override_dh_auto_build: man
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(PACKAGE).c -o $(BIN) $(LIBS)

override_dh_installchangelogs:
	dh_installchangelogs readme.txt

%:
	dh $@

# End of file