File: Makefile

package info (click to toggle)
directoryassistant 2.0-1.1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 204 kB
  • ctags: 227
  • sloc: python: 2,190; makefile: 56
file content (24 lines) | stat: -rw-r--r-- 600 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
prefix = /usr
INSTALL = install

directoryassistant.1.gz:
	python -c 'import ldap'
	python -c 'import gobject'
	cat directoryassistant.1 | gzip -9 > directoryassistant.1.gz

install: directoryassistant.1.gz
	${INSTALL} -d -m 755 ${prefix}/share/man/man1/
	${INSTALL} -d -m 755 ${prefix}/bin/
	${INSTALL} -g 0 -o root -m 0644 directoryassistant.1.gz ${prefix}/share/man/man1/
	${INSTALL} -g 0 -o root -m 0755 directoryassistant ${prefix}/bin/

uninstall:
	rm -f ${prefix}/share/man/man1/directoryassistant.1.gz
	rm -f ${prefix}/bin/directoryassistant

clean:
	rm -f *.gz
	rm -f *~

distclean: clean