blob: cf42ad22375012b5ea36afa902999da666ff523b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
$NetBSD: patch-aa,v 1.11 2006/12/01 10:53:15 hubertf Exp $
--- Makefile.in.orig 2006-04-09 20:27:50.000000000 +0200
+++ Makefile.in
@@ -55,25 +55,21 @@ install: installbin installkeymaps insta
.PHONY: installbin
installbin: rdesktop
- mkdir -p $(DESTDIR)$(bindir)
- $(INSTALL) rdesktop $(DESTDIR)$(bindir)
- $(STRIP) $(DESTDIR)$(bindir)/rdesktop
- chmod 755 $(DESTDIR)$(bindir)/rdesktop
+ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(bindir)
+ $(BSD_INSTALL_PROGRAM) rdesktop $(DESTDIR)$(bindir)
.PHONY: installman
installman: doc/rdesktop.1
- mkdir -p $(DESTDIR)$(mandir)/man1
- cp doc/rdesktop.1 $(DESTDIR)$(mandir)/man1
- chmod 644 $(DESTDIR)$(mandir)/man1/rdesktop.1
+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man1
+ $(BSD_INSTALL_MAN) doc/rdesktop.1 $(DESTDIR)$(mandir)/man1
.PHONY: installkeymaps
installkeymaps:
- mkdir -p $(DESTDIR)$(KEYMAP_PATH)
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(KEYMAP_PATH)
# Prevent copying the CVS directory
- cp keymaps/?? keymaps/??-?? $(DESTDIR)$(KEYMAP_PATH)
- cp keymaps/common $(DESTDIR)$(KEYMAP_PATH)
- cp keymaps/modifiers $(DESTDIR)$(KEYMAP_PATH)
- chmod 644 $(DESTDIR)$(KEYMAP_PATH)/*
+ $(BSD_INSTALL_DATA) keymaps/?? keymaps/??-?? $(DESTDIR)$(KEYMAP_PATH)
+ $(BSD_INSTALL_DATA) keymaps/common $(DESTDIR)$(KEYMAP_PATH)
+ $(BSD_INSTALL_DATA) keymaps/modifiers $(DESTDIR)$(KEYMAP_PATH)
.PHONY: proto
proto:
|