File: rules

package info (click to toggle)
jwm 2.4.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,752 kB
  • sloc: ansic: 22,514; makefile: 130; sh: 59; sed: 16
file content (23 lines) | stat: -rwxr-xr-x 490 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
#!/usr/bin/make -f

PACKAGE   = jwm
PKGDIR    = $(CURDIR)/debian/$(PACKAGE)
ETCDIR    = $(PKGDIR)/etc/$(PACKAGE)

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Upstream does not ship Makefile.am, disable automake from dh_autoreconf
export AUTOMAKE = true

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	cp example.jwmrc $(ETCDIR)/system.$(PACKAGE)rc

override_dh_autoreconf:
	sh autogen.sh
	dh_autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --sysconfdir=/etc/jwm