ports/misc/linm/files/patch-Makefile.in
Martin Wilke 01efb90dab - Update to 0.8.1.1
PR:		179211
Submitted by:	Ports Fury
2013-06-09 16:50:22 +00:00

37 lines
1.2 KiB
Text

--- 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 \