File: rules

package info (click to toggle)
liblogger-syslog-perl 1.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 88 kB
  • sloc: perl: 136; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 445 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	cp $(CURDIR)/lib/Logger/Syslog.pm $(CURDIR)/lib/Logger/Syslog.pm.latin1
	iconv --from-code=ISO-8859-1 --to-code=UTF-8 \
		$(CURDIR)/lib/Logger/Syslog.pm  --output=$(CURDIR)/lib/Logger/Syslog.pm
	# and then clear the copyright symbol causing pod errors
	sed -i 's/© //' $(CURDIR)/lib/Logger/Syslog.pm
	dh_auto_build
	mv $(CURDIR)/lib/Logger/Syslog.pm.latin1 $(CURDIR)/lib/Logger/Syslog.pm