File: rules

package info (click to toggle)
findimagedupes 2.11-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 124 kB
  • ctags: 15
  • sloc: perl: 452; makefile: 12
file content (21 lines) | stat: -rwxr-xr-x 563 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# debian/rules for findimagedupes using cdbs
# Andreas Tille <tille@debian.org>, GPL

pkg:=findimagedupes

include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/perlmodule.mk

DEB_DH_PERL_ARGS := usr/lib/findimagedupes/lib/auto/findimagedupes

clean::
	rm -fr ./$(pkg)_tmp ./tmp findimagedupes.1

build/findimagedupes::
	sed "s?/usr/lib/$(pkg)?./tmp?g" $(pkg) > $(pkg)_tmp
	mkdir -p ./tmp
	chmod 755 $(pkg)_tmp
	./$(pkg)_tmp
	pod2man findimagedupes > findimagedupes.1