aboutsummaryrefslogtreecommitdiffstats
path: root/misc/deco/files/patch-Makefile.in
blob: f59a130fd60b4f61ef54f443c86910d1c44516a7 (plain) (blame)
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
--- ./Makefile.in.orig  2000-01-04 05:38:18.000000000 -0200
+++ ./Makefile.in   2013-12-09 11:13:40.000000000 -0200
@@ -40,23 +40,23 @@
 
 install:        deco $(libdir)/deco $(libdir)/deco/help\
            $(libdir)/deco/menu $(libdir)/deco/profile
-       $(INSTALL_PROGRAM) deco $(bindir)
+       $(INSTALL_PROGRAM) deco ${DESTDIR}$(bindir)
        cd help; for f in *.general *.edit *.view *.hexview; do\
-           $(INSTALL_DATA) $$f $(libdir)/deco/help/$$f; done
-       $(INSTALL_DATA) ref.man $(mandir)/man1/deco.1
-       $(INSTALL_DATA) cyrref.man $(mandir)/man1/deco-r.1
+           $(INSTALL_DATA) $$f ${DESTDIR}$(libdir)/deco/help/$$f; done
+       $(INSTALL_DATA) ref.man ${DESTDIR}$(mandir)/man1/deco.1
+       $(INSTALL_DATA) cyrref.man ${DESTDIR}$(mandir)/ru.KOI8-R/man1/deco.1
 
 $(libdir)/deco:
-       mkdir $(libdir)/deco
+       mkdir ${DESTDIR}$(libdir)/deco
 
 $(libdir)/deco/help:
-       mkdir $(libdir)/deco/help
+       mkdir ${DESTDIR}$(libdir)/deco/help
 
 $(libdir)/deco/menu:
-       $(INSTALL_DATA) menu $(libdir)/deco/menu
+       $(INSTALL_DATA) menu ${DESTDIR}$(libdir)/deco/menu
 
 $(libdir)/deco/profile:
-       $(INSTALL_DATA) profile $(libdir)/deco/profile
+       $(INSTALL_DATA) profile ${DESTDIR}$(libdir)/deco/profile
 
 uninstall: