blob: f6a49a10e0232c8a52e0d94043495582b8b81349 (
plain)
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
|
--- mbuffer-20170515/Makefile.in
+++ mbuffer-20170515/Makefile.in
@@ -10,6 +10,7 @@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
+sysconfdir = @sysconfdir@
datarootdir = @datarootdir@
bindir = @bindir@
mandir = @mandir@/man1
@@ -39,13 +40,13 @@
-$(RM) $(TARGET) config.h config.log \
config.status Makefile mbuffer.1 core
-$(DESTDIR)$(prefix)/etc:
+$(DESTDIR)$(sysconfdir):
-$(INSTALL) -d -m 755 $@
-$(DESTDIR)$(prefix)/etc/mbuffer.rc:
- $(INSTALL) -m 644 mbuffer.rc $(DESTDIR)$(prefix)/etc/
+$(DESTDIR)$(sysconfdir)/mbuffer.rc:
+ $(INSTALL) -m 644 mbuffer.rc $(DESTDIR)$(sysconfdir)/
-install: $(TARGET) $(DESTDIR)$(prefix)/etc $(DESTDIR)$(prefix)/etc/mbuffer.rc
+install: $(TARGET) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(sysconfdir)/mbuffer.rc
-$(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
$(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(bindir)/
-$(INSTALL) -d -m 755 $(DESTDIR)$(mandir)
|