File: rules

package info (click to toggle)
rt-extension-customfieldsonupdate 1.02-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 212 kB
  • ctags: 162
  • sloc: perl: 2,285; makefile: 20
file content (29 lines) | stat: -rwxr-xr-x 571 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
25
26
27
28
29
#!/usr/bin/make -f

RT_VERSIONS=4

%:
	dh $@

override_dh_auto_configure:
	for ver in $(RT_VERSIONS); do \
	 export RTHOME=/usr/share/request-tracker$$ver; \
	 perl -I. Makefile.PL INSTALLDIRS=vendor; \
	 mv Makefile Makefile$$ver; \
	done

override_dh_auto_build:

override_dh_auto_test:

override_dh_auto_install:
	for ver in $(RT_VERSIONS); do \
	 ln -sf Makefile$$ver Makefile; \
	 export PERL_INSTALL_ROOT=$(CURDIR)/debian/rt$$ver-extension-customfieldsonupdate; \
	 make install; \
        done

override_dh_auto_clean:
	dh_auto_clean
	rm -rf MYMETA.yml Makefile4