From: JINMEI Tatuya Date: Mon, 10 Jun 2013 21:56:23 +0000 (-0700) Subject: [2854] make the default mapped_files directory by make install X-Git-Tag: bind10-1.2.0beta1-release~378^2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e65eaed0d786f8939852b6368de827f7294d396c;p=thirdparty%2Fkea.git [2854] make the default mapped_files directory by make install --- diff --git a/src/bin/memmgr/Makefile.am b/src/bin/memmgr/Makefile.am index 94a380a0ea..a1fb2097c8 100644 --- a/src/bin/memmgr/Makefile.am +++ b/src/bin/memmgr/Makefile.am @@ -48,5 +48,14 @@ b10-memmgr: memmgr.py $(PYTHON_LOGMSGPKG_DIR)/work/memmgr_messages.py CLEANDIRS = __pycache__ +# install the default directory for memory-mapped files. Note that the +# path must be identical to the default value in memmgr.spec. We'll make +# it readable only for the owner to minimize the risk of accidents. +install-data-local: + $(mkinstalldirs) $(DESTDIR)@localstatedir@/@PACKAGE@/mapped_files + +install-data-hook: + -chmod 700 $(DESTDIR)@localstatedir@/@PACKAGE@/mapped_files + clean-local: rm -rf $(CLEANDIRS)