about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/kea/dont-create-var.patch
blob: 53e05b5b62b8c3f0fcd0dbdcc2fae75efa3bce0e (plain) (blame)
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
diff --git a/Makefile.am b/Makefile.am
index 10708e7..d4efd73 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -150,13 +150,6 @@ cppcheck:
 docs:
 	$(MAKE) -C doc/sphinx
 
-
-# These steps are necessary during installation
-install-exec-hook:
-	mkdir -p $(DESTDIR)${localstatedir}/log/
-	mkdir -p $(DESTDIR)${localstatedir}/lib/${PACKAGE_NAME}
-	mkdir -p $(DESTDIR)${runstatedir}/${PACKAGE_NAME}
-
 EXTRA_DIST  = tools/path_replacer.sh
 EXTRA_DIST += tools/mk_cfgrpt.sh
 
diff --git a/src/lib/dhcpsrv/Makefile.am b/src/lib/dhcpsrv/Makefile.am
index a0a0289..ba42f8a 100644
--- a/src/lib/dhcpsrv/Makefile.am
+++ b/src/lib/dhcpsrv/Makefile.am
@@ -408,5 +408,3 @@ libkea_dhcpsrv_parsers_include_HEADERS = \
 	parsers/simple_parser4.h \
 	parsers/simple_parser6.h
 
-install-data-local:
-	$(mkinstalldirs) $(DESTDIR)$(dhcp_data_dir)