aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-02-19 02:50:58 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-02-19 02:50:58 +0100
commit0368e4426e828f0c6c18681dba6fcfde6d34c03f (patch)
tree86f7d48eadc6764c42d231bd84c62f50aa3055e8
parentAdd support for 'make dist'. (diff)
downloadpambase-0368e4426e828f0c6c18681dba6fcfde6d34c03f.tar.gz
pambase-0368e4426e828f0c6c18681dba6fcfde6d34c03f.tar.bz2
pambase-0368e4426e828f0c6c18681dba6fcfde6d34c03f.zip
Add install target.
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1909e85..510d995 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,10 @@ endif
all: $(PAMD)
+install: $(PAMD)
+ install -d "$(DESTDIR)/etc/pam.d"
+ install -m0644 $(PAMD) "$(DESTDIR)/etc/pam.d"
+
PACKAGE=pambase
ifeq "$(VERSION)" ""
VERSION = $(shell date +"%Y%m%d")