File: rules

package info (click to toggle)
emacs-discomfort 0.0%2Bgit5258564-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 52 kB
  • sloc: lisp: 248; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 404 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

ELPA_NAME=discomfort
export ELPA_NAME

%:
	dh $@ --with elpa

execute_before_dh_elpa:
	VERSION=$$(echo $(DEB_VERSION) | sed 's/+.*//'); \
	echo ';;; package description for discomfort  -*- no-byte-compile: t -*-' > discomfort-pkg.el; \
	echo "(define-package \"discomfort\" \"$${VERSION}\" \"Block device handling UI\" 'nil)" >> discomfort-pkg.el