File: rules

package info (click to toggle)
apngasm 2.7-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 132 kB
  • sloc: ansic: 1,891; sh: 251; makefile: 18
file content (26 lines) | stat: -rwxr-xr-x 471 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 = apngasm
BIN	= $(PACKAGE)
CC     ?= gcc
LIBS	= -lz -lpng

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