File: Makefile

package info (click to toggle)
mini-dinstall 0.6.21-0.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 260 kB
  • ctags: 295
  • sloc: python: 1,866; makefile: 42; sh: 26
file content (19 lines) | stat: -rw-r--r-- 534 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Makefile for mini-dinstall

PYTHONVERSION=$(shell pyversions -dv)

pkgdir = $(DESTDIR)/usr/lib/python$(PYTHONVERSION)/site-packages/minidinstall
bindir = $(DESTDIR)/usr/bin
mandir = $(DESTDIR)/usr/share/man/man1

install:
	install -o root -g root -m 0755 -d $(pkgdir) $(bindir) $(mandir)

	# install the application
	install -o root -g root -m 0644 lib/*.py $(pkgdir)
	install -o root -g root -m 0755 mini-dinstall $(bindir)

	# install documentataion
	install -o root -g root -m 0644 doc/mini-dinstall.1 $(mandir)

.PHONY: install