blob: 84f3d911477093fe6de2f8aea0dbc74381576ba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ag,v 1.3 2005/12/08 01:04:45 wiz Exp $
--- src/gnome2-console/Makefile.in.orig 2004-09-24 14:30:32.000000000 +0200
+++ src/gnome2-console/Makefile.in
@@ -95,14 +95,14 @@ devclean: realclean
install: all
$(INSTALL_PROGRAM) gnome-console $(DESTDIR)$(sbindir)/gnome-console
@srcconf=gnome-console.conf; \
- if test -f ${DESTDIR}${sysconfdir}/$$srcconf; then \
+ if test -f ${DESTDIR}%%EXAMPLESDIR%%/$$srcconf; then \
destconf=$$srcconf.new; \
echo " ==> Found existing $$srcconf, installing new conf file as $$destconf"; \
else \
destconf=$$srcconf; \
fi; \
- echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
- ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf
+ echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}%%EXAMPLESDIR%%/$$destconf"; \
+ ${INSTALL_CONFIG} $$srcconf ${DESTDIR}%%EXAMPLESDIR%%/$$destconf
if test -f static-gnome-console; then \
$(INSTALL_PROGRAM) static-gnome-console $(DESTDIR)$(sbindir)/static-gnome-console; \
fi
|