File: rules

package info (click to toggle)
libpdf-fdf-simple-perl 0.21-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,012 kB
  • sloc: perl: 15,109; makefile: 7
file content (17 lines) | stat: -rwxr-xr-x 336 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	# backup
	cp -v $(CURDIR)/lib/PDF/FDF/Simple/Grammar.pm $(CURDIR)/lib/PDF/FDF/Simple/Grammar.pm.save

	# recreate
	perl ./Build grammar

	# build
	dh_auto_build -- --verbose 1

	# restore
	mv -v $(CURDIR)/lib/PDF/FDF/Simple/Grammar.pm.save $(CURDIR)/lib/PDF/FDF/Simple/Grammar.pm