File: rules

package info (click to toggle)
desproxy 0.1.0~pre3-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 508 kB
  • sloc: ansic: 1,776; makefile: 81; sh: 29
file content (29 lines) | stat: -rwxr-xr-x 721 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
25
26
27
28
29
#!/usr/bin/make -f

PACKAGE = desproxy

-include /usr/share/dpkg/buildtools.mk
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
	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE)-dns makeman
	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE)-inetd makeman
	$(MAKE) -C debian -f pod2man.mk PACKAGE=socket2socket makeman
	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE)-socksserver \
	makeman

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

override_dh_auto_install: man
	@:

%:
	dh $@

.PHONY: man

# End of file