File: rules

package info (click to toggle)
git-keeper 0.20251015.0
  • links: PTS
  • area: main
  • in suites: sid
  • size: 192 kB
  • sloc: python: 534; sh: 45; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 309 bytes parent folder | download
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

%:
	dh $@

execute_before_dh_install:
	sed -i '/__VERSION__ = /c__VERSION__ = "$(DEB_VERSION)"' git-keeper

execute_before_dh_installman:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	go-md2man -in debian/git-keeper.1.md -out debian/git-keeper.1
endif