blob: b0c9c1679ad985e296bbd61b5d0ad9504a3a613f (
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
29
30
31
32
33
34
35
36
37
38
|
--- a/GNUmakefile.in.old 2021-08-31 11:37:44.381788404 +0200
+++ b/GNUmakefile.in 2021-08-31 11:39:12.924885425 +0200
@@ -43,18 +43,18 @@
prefix = $(DESTDIR)@prefix@
exec_prefix = @exec_prefix@
-libdir = @libdir@
+libdir = $(DESTDIR)@libdir@
includedir = @includedir@
datarootdir = @datarootdir@
-datadir = @datadir@
-docdir = @docdir@
+datadir = $(DESTDIR)@datadir@
+docdir = $(DESTDIR)@docdir@
pkgconfigdir = $(libdir)/pkgconfig
CCP4DIR = @CCP4@
CLIBD = $(CCP4DIR:%=%/lib/data)
CACHE_DIR = $(DESTDIR)@DATA_CACHE_DIR@
-DATA_DIR = @DATA_LIB_DIR@
+DATA_DIR = $(DESTDIR)@DATA_LIB_DIR@
CRON_DIR = $(DESTDIR)/etc/cron.weekly
DEFINES += CACHE_DIR='"$(CACHE_DIR)"' DATA_DIR='"$(DATA_DIR)"'
@@ -288,9 +288,9 @@
done
install -d $(CACHE_DIR)
install -d $(CRON_DIR)
- if [ ! -f /etc/libcifpp.conf ] ; then \
- echo "# Uncomment the next line to enable automatic updates" > /etc/libcifpp.conf; \
- echo "# update=true" >> /etc/libcifpp.conf; \
+ if [ ! -f $(DESTDIR)/etc/libcifpp.conf ] ; then \
+ echo "# Uncomment the next line to enable automatic updates" > $(DESTDIR)/etc/libcifpp.conf; \
+ echo "# update=true" >> $(DESTDIR)/etc/libcifpp.conf; \
echo ""; \
echo "Update the /etc/libcifpp.conf file to enable automatic updates"; \
echo ""; \
|