File: rules

package info (click to toggle)
emacs-libvterm 0.0.2%2Bgit20250929.adf8d10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 456 kB
  • sloc: ansic: 1,918; lisp: 1,515; sh: 57; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 433 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

ELPA_NAME = vterm
DEB_BUILD_MAINT_OPTIONS = hardening=+all
export ELPA_NAME DEB_BUILD_MAINT_OPTIONS

%:
	dh $@ --with elpa

execute_before_dh_auto_build:
	echo ";;; set load-path for vterm-module.so -*- lexical-binding: t; -*-" > vterm-load-path.el
	echo "(add-to-list 'load-path \"/usr/lib/${DEB_HOST_MULTIARCH}/emacs-libvterm\")" >> vterm-load-path.el
	rm -f emacs-module.h