File: rules

package info (click to toggle)
pisg 0.80~preview2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,440 kB
  • sloc: perl: 7,802; xml: 3,141; makefile: 192; sed: 169; tcl: 33; awk: 15; sh: 4
file content (16 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

DATADIR="/usr/share/pisg"

%:
	dh $@

execute_after_dh_auto_build:
	docbook2man docs/pisg.sgml --output docs
	mv -f docs/PISG.1 docs/pisg.1

execute_after_dh_install:
	perl -pi \
		-e "s[(langfile =>) '.*',][\$$1 => '$(DATADIR)/lang.txt',];" \
		-e "s[(cssdir =>) '.*',][\$$1 => '$(DATADIR)/layout/',]" \
		debian/pisg/usr/share/perl5/Pisg.pm