summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-04 23:15:35 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-04 23:15:35 -0400
commitc627816ba6e249e2203bbe2cdb7a6ffcb9636135 (patch)
tree453c9031704931cc5e87320926140034b90fe111 /Makefile
parenta6c9b799bb0d9625507975904c15e540174328f4 (diff)
tuning up the make install target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7ab188d..691447a 100644
--- a/Makefile
+++ b/Makefile
@@ -32,16 +32,15 @@ clean:
# this target is to be called from the tarball, not from the git
# working dir!
install: all
- mkdir -p $(DESTDIR)/$(PREFIX)/bin $(DESTDIR)/$(PREFIX)/sbin $(DESTDIR)/$(PREFIX)/share/monkeysphere
- mkdir -p $(DESTDIR)/$(PREFIX)/share/man/man1 $(DESTDIR)/$(PREFIX)/share/man/man7 $(DESTDIR)/$(PREFIX)/share/man/man8
- mkdir -p $(DESTDIR)/$(ETCPREFIX)/etc
- mkdir -p $(DESTDIR)/$(PREFIX)/var/lib/monkeysphere/authorized_keys
+ mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/sbin $(DESTDIR)$(PREFIX)/share/monkeysphere
+ mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 $(DESTDIR)$(PREFIX)/share/man/man7 $(DESTDIR)$(PREFIX)/share/man/man8
+ mkdir -p $(DESTDIR)$(ETCPREFIX)/etc/monkeysphere
install src/monkeysphere src/monkeysphere-ssh-proxycommand src/keytrans/openpgp2ssh $(DESTDIR)/$(PREFIX)/bin
install src/monkeysphere-server $(DESTDIR)/$(PREFIX)/sbin
install src/common $(DESTDIR)/$(PREFIX)/share/monkeysphere
install man/man1/* $(DESTDIR)$(PREFIX)/share/man/man1
install man/man7/* $(DESTDIR)$(PREFIX)/share/man/man7
install man/man8/* $(DESTDIR)$(PREFIX)/share/man/man8
- install etc/* $(DESTDIR)$(ETCPREFIX)/etc
+ install -m 0644 etc/* $(DESTDIR)$(ETCPREFIX)/etc/monkeysphere
.PHONY: all clean tarball debian-package install