File: rules

package info (click to toggle)
xvier 1.0-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 300 kB
  • sloc: ansic: 4,836; makefile: 13
file content (24 lines) | stat: -rwxr-xr-x 520 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

tmp = debian/xvier

# Avoid embedding build path for reproducible builds
export DEB_CFLAGS_MAINT_APPEND = -ffile-prefix-map=$(CURDIR)=.

execute_after_dh_auto_clean:
	rm -f Makefile

%:
	dh $@

override_dh_auto_build:
	xmkmf
	$(MAKE) CDEBUGFLAGS="$(CFLAGS) $(CDEBUGFLAGS)"

# Upstream's makefile does not handle DESTDIR, so we just `dh_install`
# things directly.
override_dh_auto_install:

override_dh_installman:
	dh_installman xvier.man
	ln -s xvier.6.gz $(tmp)/usr/share/man/man6/xvier_prog.6.gz