File: rules

package info (click to toggle)
redmine-plugin-pretend 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 276 kB
  • sloc: ruby: 98; makefile: 9
file content (19 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

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

%:
	dh $@

override_dh_clean:
	dh_clean debian/init.rb

debian/init.rb:
	perl -pE "s{(\sversion\s+'\K)[\d.]+'}{$(DEB_VERSION_UPSTREAM)'};" $(notdir $@) > $@

override_dh_install: debian/init.rb
	dh_install