File: rules

package info (click to toggle)
libxml-atom-microformats-perl 0.004-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 352 kB
  • sloc: perl: 3,602; makefile: 7; sh: 1
file content (14 lines) | stat: -rwxr-xr-x 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# ensure deterministic build: avoid Module::Package::RDF calling Module::AutoInstall
export NO_AUTO_INSTALL=1

%:
	dh $@

# move aside stale code during build (see bug#789631)
execute_before_dh_auto_configure:
	[ -d inc/Scalar.old ] || mv -v inc/Scalar inc/Scalar.old

execute_after_dh_auto_clean:
	[ ! -d inc/Scalar.old ] || mv -v inc/Scalar.old inc/Scalar