File: rules

package info (click to toggle)
matroxset 0.4-9
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 204 kB
  • ctags: 835
  • sloc: ansic: 1,817; sh: 24; makefile: 21
file content (24 lines) | stat: -rwxr-xr-x 462 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
#!/usr/bin/make -f

PACKAGE = matroxset
LIBS	= -lncurses

export DEB_BUILD_MAINT_OPTIONS	= hardening=+all
export DEB_CFLAGS_MAINT_APPEND	= -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

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

override_dh_installman: man
	dh_installman

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

%:
	dh $@

.PHONY: man

# End f file