summaryrefslogtreecommitdiff
path: root/misc/linm/files/patch-Makefile.in
blob: 707a13b1266b6c586bfb0cfe44ab75e97f8de82b (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
35
36
37
--- Makefile.in.orig	Tue Jan 31 01:14:27 2006
+++ Makefile.in	Thu Feb 16 15:16:59 2006
@@ -239,7 +239,7 @@
 # have all needed files, that a GNU package needs
 AUTOMAKE_OPTIONS = foreign 1.4
 ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = intl po lib panel editor src sh
+SUBDIRS = po lib panel editor src sh
 noinst_DATA = README.ko_euckr README.ko_utf8 linm.spec debian/*
 EXTRA_DIST = config.rpath m4/ChangeLog  $(noinst_DATA)
 all: config.h
@@ -695,6 +695,10 @@
 
 
 install-exec-hook :
+	if ! test -d $(DESTDIR)$(sysconfdir)/profile.d ; then \
+		install -d -m 755 $(DESTDIR)$(sysconfdir)/profile.d \
+	; fi
+
 	if test -d $(DESTDIR)$(sysconfdir)/profile.d ; then \
 		if test -w $(DESTDIR)$(sysconfdir)/profile.d ; then \
 			install -c -m 755 $(top_srcdir)/sh/linm_alias.sh $(DESTDIR)$(sysconfdir)/profile.d \
@@ -710,14 +714,6 @@
 					$(top_srcdir)/sh/colorset.cfg \
 					$(top_srcdir)/sh/keyset.cfg \
 					$(DESTDIR)$(LINM_CFGPATH) \
-	; else \
-		if ! test -d ~/.linm ; then \
-			install -d -m 755 ~/.linm \
-		; fi && \
-		install -c -m 644 $(top_srcdir)/sh/default.cfg \
-					$(top_srcdir)/sh/colorset.cfg \
-					$(top_srcdir)/sh/keyset.cfg \
-					~/.linm \
 	; fi
 
 	if ! test -d $(DESTDIR)$(datadir)/pixmaps ; then \