summaryrefslogtreecommitdiffstats
path: root/main/smokeping/0002-fix-sysconfdir-in-doc.patch
blob: 7d6246a9ca08d39a8708d77bf419f2020a5ca4e8 (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
Patch from: Jeff Bilyk <jbilyk@alpinelinux.org>

--- smokeping-2.6.1/doc/Makefile.in
+++ smokeping-2.6.1/doc/Makefile.in.new
@@ -239,16 +239,16 @@
 MAKEPOD = PERL5LIB=$(PERL5LIB) $(PERL) -I$(DESTDIR)$(prefix)/thirdparty/lib/perl5 -I../lib -mSmokeping -e 'Smokeping::main()' -- --makepod
 GENEX = PERL5LIB=$(PERL5LIB) $(PERL) -I$(DESTDIR)$(prefix)/thirdparty/lib/perl5  -I../lib -mSmokeping -e 'Smokeping::main()' -- --gen-examples
 CLEANFILES = *.[1357] smokeping_examples.pod smokeping_config.pod examples/*
-iman1dir = $(DESTDIR)$(mandir)/man1
+iman1dir = $(mandir)/man1
 iman1_DATA = $(MAN1)
-iman3dir = $(DESTDIR)$(mandir)/man3
+iman3dir = $(mandir)/man3
 iman3_DATA = $(MAN3)
-iman5dir = $(DESTDIR)$(mandir)/man5
+iman5dir = $(mandir)/man5
 iman5_DATA = $(MAN5)
-iman7dir = $(DESTDIR)$(mandir)/man7
+iman7dir = $(mandir)/man7
 iman7_DATA = $(MAN7)
 EXAMPLES := $(wildcard examples/config.*)
-etcdir = $(DESTDIR)$(sysconfdir)/examples
+etcdir = $(sysconfdir)/examples
 etc_DATA = $(EXAMPLES)
 all: all-am