File: rules

package info (click to toggle)
miwm 1.1-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,296 kB
  • sloc: cpp: 8,179; sh: 231; makefile: 148
file content (23 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

PACKAGE = miwm

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

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

override_dh_auto_install:
	# See debian/install

override_dh_auto_build: man
	$(MAKE) CC="g++ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"

%:
	dh $@

.PHONY: man

# End of file