File: rules.modules

package info (click to toggle)
xtables-addons 3.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,588 kB
  • sloc: ansic: 11,712; sh: 5,151; perl: 643; makefile: 153; python: 15
file content (42 lines) | stat: -rwxr-xr-x 945 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

MAKEARGS = -C $(KSRC) M=$(CURDIR)/extensions XA_ABSTOPSRCDIR=$(CURDIR) XA_TOPSRCDIR=$(CURDIR)

#
# See /usr/share/doc/module-assistant/HOWTO-DEVEL.gz
# and /usr/share/doc/module-assistant/examples.
#

PACKAGE = xtables-addons-modules

-include /usr/share/modass/include/generic.make
-include /usr/share/modass/include/common-rules.make

kdist_clean: | debian/control
	dh clean

kdist_config: prep-deb-files

binary-modules:
	dh binary-arch

override_dh_auto_build:
	$(MAKE) $(MAKEARGS)

override_dh_auto_install:
	$(MAKE) $(MAKEARGS) modules_install \
		INSTALL_MOD_PATH=$(CURDIR)/debian/$(PKGNAME) \
		INSTALL_MOD_DIR=extra/xtables-addons

override_dh_auto_clean:
	$(MAKE) $(MAKEARGS) clean

override_dh_clean:
	dh_clean $(patsubst %.modules.in,%,$(wildcard debian/*.modules.in))

override_dh_builddeb:
	dh_builddeb --destdir=$(DEB_DESTDIR)