blob: 2269d29236291fc6800ce5f6537622850a50d579 (
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.10 2005/05/18 01:11:45 xtraeme Exp $
--- Makefile.in.orig 2005-05-18 03:01:07.000000000 +0200
+++ Makefile.in 2005-05-18 03:02:42.000000000 +0200
@@ -54,25 +54,21 @@
.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:
|