File: Makefile

package info (click to toggle)
dlocate 1.02
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 256 kB
  • ctags: 4
  • sloc: sh: 407; perl: 96; makefile: 56
file content (26 lines) | stat: -rw-r--r-- 715 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /usr/bin/make -f

all:

clean: 
	rm -rf debian/dlocate debian/dlocate.substvars debian/files build-stamp install-stamp new.output

install:
	install -m 755 dlocate $(DESTDIR)/usr/bin/
	install -m 755 update-dlocatedb $(DESTDIR)/usr/sbin/
	install -m 755 dpkg-hold $(DESTDIR)/usr/sbin/
	install -m 755 dpkg-unhold $(DESTDIR)/usr/sbin/
	install -m 755 dpkg-remove $(DESTDIR)/usr/sbin/
	install -m 755 dpkg-purge $(DESTDIR)/usr/sbin/
	install -m 644 dlocate-completion $(DESTDIR)/etc/bash_completion.d/
	#install -m 755 update-dpkg-list $(DESTDIR)/usr/sbin/

update-test:
	./test-dlocate.sh > test.output 2>&1

test:
	./check-version-banner.sh
	./test-dlocate.sh > new.output 2>&1
	diff -u test.output new.output