aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2007-08-23 15:47:20 +0200
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-08-23 15:47:20 +0200
commite5f5a2ab23ace19c6de39512f76f8fed5f5ad912 (patch)
treea3a2a1ba762515d37acaf85d9e5c27f81a3ab6c1 /Makefile
Imported upstream version 0.6.21upstream/0.6.21debian/0.6.21-0.1upstream
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..6e3d233
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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