File: rules

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

pkg:=findimagedupes

DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes

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

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

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