File: rules

package info (click to toggle)
wmitime 0.3-11
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 276 kB
  • sloc: ansic: 1,143; makefile: 38
file content (24 lines) | stat: -rwxr-xr-x 465 bytes parent folder | download
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	   = wmitime
MAKE_FLAGS = -C wmitime

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) makeman

override_dh_auto_build: man
	$(MAKE) $(MAKE_FLAGS) FLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"

override_dh_auto_clean:
	$(MAKE) $(MAKE_FLAGS) clean

%:
	dh $@

.PHONY: man

# End of file