File: rules

package info (click to toggle)
qt4-perl 4.8.4-1.2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,636 kB
  • ctags: 8,100
  • sloc: perl: 42,963; cpp: 28,039; makefile: 160; xml: 98; sh: 4
file content (15 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
DEB_CMAKE_EXTRA_FLAGS=-DCUSTOM_PERL_SITE_ARCH_DIR=$(shell perl -MConfig -e 'print $$Config{installvendorarch}')

ARCHLIB := $(shell perl -MConfig -e 'print substr($$Config{vendorarch},1)')

clean::
	$(RM) --verbose debian/*.install

common-install-arch::
	for i in debian/*.install.in; do \
		sed -e 's,@ARCHLIB@,$(ARCHLIB),g' $$i > debian/$$(basename $$i .in); \
	done