blob: 22b088f6a6455cdbf89c1e775a02bcb80dce7445 (
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-ac,v 1.3 2011/11/02 13:59:29 fhajny Exp $
--- etc/Makefile.orig 2006-07-08 03:18:01.000000000 +0000
+++ etc/Makefile
@@ -5,12 +5,10 @@ include ../config.mk
.PHONY: install uninstall
install:
- $(MKINSTALLDIRS) $(sysconfdir)
- $(INSTALL) -m 644 sqlrelay.conf.example $(sysconfdir)
- $(INSTALL) -m 644 sqlrelay.dtd $(sysconfdir)
- $(INSTALL) -m 644 sqlrelay.conf.example $(EXAMPLEDIR)/sqlrelay.conf
+ $(MKINSTALLDIRS) ${DESTDIR}$(EXAMPLESDIR)
+ $(INSTALL) -m 644 sqlrelay.conf.example ${DESTDIR}$(EXAMPLESDIR)
+ $(INSTALL) -m 644 sqlrelay.dtd ${DESTDIR}$(EXAMPLESDIR)
uninstall:
- $(RM) $(sysconfdir)/sqlrelay.conf.example
- $(RM) $(sysconfdir)/sqlrelay.dtd
- $(RM) $(EXAMPLEDIR)/sqlrelay.conf
+ $(RM) ${DESTDIR}$(EXAMPLESDIR)/sqlrelay.conf.example
+ $(RM) ${DESTDIR}$(EXAMPLESDIR)/sqlrelay.dtd
|